5 writes to visualStyleRenderer
System.Windows.Forms (5)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (5)
3179
visualStyleRenderer
= new VisualStyleRenderer(ComboBoxReadOnlyButton);
3200
visualStyleRenderer
= new VisualStyleRenderer(ComboBoxBorder);
3215
visualStyleRenderer
= new VisualStyleRenderer(ComboBoxDropDownButtonLeft.ClassName, ComboBoxDropDownButtonLeft.Part, (int)state);
3226
visualStyleRenderer
= new VisualStyleRenderer(ComboBoxDropDownButtonRight.ClassName, ComboBoxDropDownButtonRight.Part, (int)state);
3240
visualStyleRenderer
= new VisualStyleRenderer(ComboBoxReadOnlyButton.ClassName, ComboBoxReadOnlyButton.Part, (int)state);
13 references to visualStyleRenderer
System.Windows.Forms (13)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (13)
3177
if (
visualStyleRenderer
== null)
3181
return
visualStyleRenderer
;
3198
if (
visualStyleRenderer
== null)
3204
visualStyleRenderer
.SetParameters(ComboBoxBorder.ClassName, ComboBoxBorder.Part, ComboBoxBorder.State);
3206
visualStyleRenderer
.DrawBackground(g, bounds);
3213
if (
visualStyleRenderer
== null)
3219
visualStyleRenderer
.SetParameters(ComboBoxDropDownButtonLeft.ClassName, ComboBoxDropDownButtonLeft.Part, (int)state);
3224
if (
visualStyleRenderer
== null)
3230
visualStyleRenderer
.SetParameters(ComboBoxDropDownButtonRight.ClassName, ComboBoxDropDownButtonRight.Part, (int)state);
3233
visualStyleRenderer
.DrawBackground(g, bounds);
3238
if (
visualStyleRenderer
== null)
3244
visualStyleRenderer
.SetParameters(ComboBoxReadOnlyButton.ClassName, ComboBoxReadOnlyButton.Part, (int)state);
3246
visualStyleRenderer
.DrawBackground(g, bounds);