41 references to Part
System.Windows.Forms (41)
winforms\Managed\System\WinForms\ButtonRenderer.cs (2)
272
visualStyleRenderer = new VisualStyleRenderer(ButtonElement.ClassName, ButtonElement.
Part
, state);
275
visualStyleRenderer.SetParameters(ButtonElement.ClassName, ButtonElement.
Part
, state);
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (1)
343
int part = CheckBoxElement.
Part
;
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (8)
73
visualStyleRenderer = new VisualStyleRenderer(TextBoxElement.ClassName, TextBoxElement.
Part
, (int)state);
76
visualStyleRenderer.SetParameters(TextBoxElement.ClassName, TextBoxElement.
Part
, (int)state);
110
visualStyleRenderer = new VisualStyleRenderer(TextBoxElement.ClassName, TextBoxElement.
Part
, (int)state);
113
visualStyleRenderer.SetParameters(TextBoxElement.ClassName, TextBoxElement.
Part
, (int)state);
132
visualStyleRenderer = new VisualStyleRenderer(TextBoxElement.ClassName, TextBoxElement.
Part
, (int)state);
135
visualStyleRenderer.SetParameters(TextBoxElement.ClassName, TextBoxElement.
Part
, (int)state);
168
visualStyleRenderer = new VisualStyleRenderer(ComboBoxElement.ClassName, ComboBoxElement.
Part
, (int)state);
171
visualStyleRenderer.SetParameters(ComboBoxElement.ClassName, ComboBoxElement.
Part
, (int)state);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
1097
DataGridViewButtonRenderer.SetParameters(ButtonElement.ClassName, ButtonElement.
Part
, buttonState);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1795
CheckBoxRenderer.SetParameters(CheckBoxElement.ClassName, CheckBoxElement.
Part
, (int) state);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
1259
VisualStyleRenderer.SetParameters(HeaderElement.ClassName, HeaderElement.
Part
, headerState);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (7)
3204
visualStyleRenderer.SetParameters(ComboBoxBorder.ClassName, ComboBoxBorder.
Part
, ComboBoxBorder.State);
3215
visualStyleRenderer = new VisualStyleRenderer(ComboBoxDropDownButtonLeft.ClassName, ComboBoxDropDownButtonLeft.
Part
, (int)state);
3219
visualStyleRenderer.SetParameters(ComboBoxDropDownButtonLeft.ClassName, ComboBoxDropDownButtonLeft.
Part
, (int)state);
3226
visualStyleRenderer = new VisualStyleRenderer(ComboBoxDropDownButtonRight.ClassName, ComboBoxDropDownButtonRight.
Part
, (int)state);
3230
visualStyleRenderer.SetParameters(ComboBoxDropDownButtonRight.ClassName, ComboBoxDropDownButtonRight.
Part
, (int)state);
3240
visualStyleRenderer = new VisualStyleRenderer(ComboBoxReadOnlyButton.ClassName, ComboBoxReadOnlyButton.
Part
, (int)state);
3244
visualStyleRenderer.SetParameters(ComboBoxReadOnlyButton.ClassName, ComboBoxReadOnlyButton.
Part
, (int)state);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1194
VisualStyleRenderer.SetParameters(HeaderElement.ClassName, HeaderElement.
Part
, headerState);
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
462
VisualStyleRenderer.SetParameters(HeaderElement.ClassName, HeaderElement.
Part
, headerState);
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (1)
321
int part = GroupBoxElement.
Part
;
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (1)
282
int part = RadioElement.
Part
;
winforms\Managed\System\WinForms\ScrollBarRenderer.cs (2)
201
visualStyleRenderer = new VisualStyleRenderer(element.ClassName, element.
Part
, state);
204
visualStyleRenderer.SetParameters(element.ClassName, element.
Part
, state);
winforms\Managed\System\WinForms\TabRenderer.cs (2)
195
visualStyleRenderer = new VisualStyleRenderer(element.ClassName, element.
Part
, state);
198
visualStyleRenderer.SetParameters(element.ClassName, element.
Part
, state);
winforms\Managed\System\WinForms\TextBoxRenderer.cs (2)
127
visualStyleRenderer = new VisualStyleRenderer(TextBoxElement.ClassName, TextBoxElement.
Part
, state);
130
visualStyleRenderer.SetParameters(TextBoxElement.ClassName, TextBoxElement.
Part
, state);
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (5)
340
vsRenderer.SetParameters(chevronElement.ClassName, chevronElement.
Part
, GetItemState(item));
475
vsRenderer.SetParameters(splitButtonPart.ClassName, splitButtonPart.
Part
, GetSplitButtonItemState(splitButton));
493
vsRenderer.SetParameters(splitButtonDropDownPart.ClassName, splitButtonDropDownPart.
Part
, GetSplitButtonDropDownItemState(splitButton));
575
vsRenderer.SetParameters(toolBarElement.ClassName, toolBarElement.
Part
, (int)state);
606
vsRenderer.SetParameters(separator.ClassName, separator.
Part
, GetItemState(item));
winforms\Managed\System\WinForms\TrackBarRenderer.cs (2)
264
visualStyleRenderer = new VisualStyleRenderer(element.ClassName, element.
Part
, state);
267
visualStyleRenderer.SetParameters(element.ClassName, element.
Part
, state);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (3)
101
return IsCombinationDefined(element.ClassName, element.
Part
);
156
public VisualStyleRenderer(VisualStyleElement element) : this(element.ClassName, element.
Part
, element.State) {
248
SetParameters(element.ClassName, element.
Part
, element.State);