6 writes to propBag
System.Windows.Forms (6)
winforms\Managed\System\WinForms\TreeNode.cs (6)
263if (propBag==null) propBag = new OwnerDrawPropertyBag(); 478if (propBag == null) propBag = new OwnerDrawPropertyBag(); 757if (propBag==null) propBag = new OwnerDrawPropertyBag(); 1309node.propBag = OwnerDrawPropertyBag.Copy(propBag); 1408propBag = (OwnerDrawPropertyBag)serializationInfo.GetValue(entry.Name, typeof(OwnerDrawPropertyBag)); 1820if (propBag.IsEmpty()) propBag = null;
28 references to propBag
System.Windows.Forms (28)
winforms\Managed\System\WinForms\TreeNode.cs (24)
244if (propBag==null) return Color.Empty; 245return propBag.BackColor; 253if (propBag!=null) { 254propBag.BackColor = Color.Empty; 263if (propBag==null) propBag = new OwnerDrawPropertyBag(); 264propBag.BackColor = value; 460if (propBag == null) return Color.Empty; 461return propBag.ForeColor; 468if (propBag != null) { 469propBag.ForeColor = Color.Empty; 478if (propBag == null) propBag = new OwnerDrawPropertyBag(); 479propBag.ForeColor = value; 739if (propBag==null) return null; 740return propBag.Font; 747if (propBag!=null) { 748propBag.Font = null; 757if (propBag==null) propBag = new OwnerDrawPropertyBag(); 758propBag.Font = value; 1308if (propBag != null) { 1309node.propBag = OwnerDrawPropertyBag.Copy(propBag); 1819if (propBag==null) return; 1820if (propBag.IsEmpty()) propBag = null; 1853if (propBag != null) { 1854si.AddValue("PropBag", propBag, typeof(OwnerDrawPropertyBag));
winforms\Managed\System\WinForms\TreeView.cs (4)
2886if (node == null || node.propBag == null) return retval; 2890retval.ForeColor = node.propBag.ForeColor; 2891retval.BackColor = node.propBag.BackColor; 2893retval.Font = node.propBag.Font;