6 writes to _propBag
System.Windows.Forms (6)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (6)
212_propBag ??= new OwnerDrawPropertyBag(); 438_propBag ??= new OwnerDrawPropertyBag(); 764_propBag ??= new OwnerDrawPropertyBag(); 1392node._propBag = OwnerDrawPropertyBag.Copy(_propBag); 1500_propBag = (OwnerDrawPropertyBag?)serializationInfo.GetValue(entry.Name, typeof(OwnerDrawPropertyBag)); 2017_propBag = null;
25 references to _propBag
System.Windows.Forms (25)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (21)
181if (_propBag is null) 186return _propBag.BackColor; 196if (_propBag is not null) 198_propBag.BackColor = Color.Empty; 214_propBag.BackColor = value; 408if (_propBag is null) 413return _propBag.ForeColor; 422if (_propBag is not null) 424_propBag.ForeColor = Color.Empty; 440_propBag.ForeColor = value; 733if (_propBag is null) 738return _propBag.Font; 748if (_propBag is not null) 750_propBag.Font = null; 766_propBag.Font = value; 1390if (_propBag is not null) 1392node._propBag = OwnerDrawPropertyBag.Copy(_propBag); 2010if (_propBag is null) 2015if (_propBag.IsEmpty()) 2055if (_propBag is not null) 2057si.AddValue("PropBag", _propBag, typeof(OwnerDrawPropertyBag));
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
2880if (node is null || node._propBag is null) 2892retval.ForeColor = node._propBag.ForeColor; 2893retval.BackColor = node._propBag.BackColor; 2896retval.Font = node._propBag.Font;