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