5 writes to style
System.Windows.Forms (5)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (5)
50
style
= new SubItemStyle
84
style
??= new SubItemStyle();
154
style
??= new SubItemStyle();
177
style
??= new SubItemStyle();
257
style
= null;
23 references to style
System.Windows.Forms (23)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (23)
75
if (
style
is not null &&
style
.backColor != Color.Empty)
77
return
style
.backColor;
86
if (
style
.backColor != value)
88
style
.backColor = value;
114
Debug.Assert(
style
is not null, "Should have checked CustomStyle");
115
return !
style
.backColor.IsEmpty;
123
Debug.Assert(
style
is not null, "Should have checked CustomStyle");
124
return
style
.font is not null;
132
Debug.Assert(
style
is not null, "Should have checked CustomStyle");
133
return !
style
.foreColor.IsEmpty;
137
internal bool CustomStyle =>
style
is not null;
145
if (
style
is not null &&
style
.font is not null)
147
return
style
.font;
156
if (
style
.font != value)
158
style
.font = value;
168
if (
style
is not null &&
style
.foreColor != Color.Empty)
170
return
style
.foreColor;
179
if (
style
.foreColor != value)
181
style
.foreColor = value;
255
if (
style
is not null)