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