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();
1392
node.
_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)
181
if (
_propBag
is null)
186
return
_propBag
.BackColor;
196
if (
_propBag
is not null)
198
_propBag
.BackColor = Color.Empty;
214
_propBag
.BackColor = value;
408
if (
_propBag
is null)
413
return
_propBag
.ForeColor;
422
if (
_propBag
is not null)
424
_propBag
.ForeColor = Color.Empty;
440
_propBag
.ForeColor = value;
733
if (
_propBag
is null)
738
return
_propBag
.Font;
748
if (
_propBag
is not null)
750
_propBag
.Font = null;
766
_propBag
.Font = value;
1390
if (
_propBag
is not null)
1392
node._propBag = OwnerDrawPropertyBag.Copy(
_propBag
);
2010
if (
_propBag
is null)
2015
if (
_propBag
.IsEmpty())
2055
if (
_propBag
is not null)
2057
si.AddValue("PropBag",
_propBag
, typeof(OwnerDrawPropertyBag));
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
2880
if (node is null || node.
_propBag
is null)
2892
retval.ForeColor = node.
_propBag
.ForeColor;
2893
retval.BackColor = node.
_propBag
.BackColor;
2896
retval.Font = node.
_propBag
.Font;