17 references to VisualStyleRenderer
System.Windows.Forms (11)
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (1)
293
t_visualStyleRenderer = new
VisualStyleRenderer
(s_buttonElement.ClassName, s_buttonElement.Part, state);
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (1)
355
t_visualStyleRenderer = new
VisualStyleRenderer
(s_checkBoxElement.ClassName, part, state);
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (1)
331
t_visualStyleRenderer = new
VisualStyleRenderer
(s_radioElement.ClassName, part, state);
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (1)
122
t_visualStyleRenderer = new
VisualStyleRenderer
(visualStyleElement.ClassName, visualStyleElement.Part, state);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.DataGridViewComboBoxCellRenderer.cs (1)
81
t_visualStyleRenderer = new
VisualStyleRenderer
(visualStyleElement.ClassName, visualStyleElement.Part, state);
System\Windows\Forms\Controls\GroupBox\GroupBoxRenderer.cs (1)
372
t_visualStyleRenderer = new
VisualStyleRenderer
(s_groupBoxElement.ClassName, part, state);
System\Windows\Forms\Controls\TabControl\TabRenderer.cs (1)
156
t_visualStyleRenderer = new
VisualStyleRenderer
(element.ClassName, element.Part, state);
System\Windows\Forms\Controls\TextBox\TextBoxRenderer.cs (1)
92
t_visualStyleRenderer = new
VisualStyleRenderer
(s_textBoxElement.ClassName, s_textBoxElement.Part, state);
System\Windows\Forms\Controls\TrackBar\TrackBarRenderer.cs (1)
210
t_visualStyleRenderer = new
VisualStyleRenderer
(element.ClassName, element.Part, state);
System\Windows\Forms\Scrolling\ScrollBarRenderer.cs (1)
149
t_visualStyleRenderer = new
VisualStyleRenderer
(element.ClassName, element.Part, state);
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (1)
126
public VisualStyleRenderer(VisualStyleElement element) :
this
(element.ClassName, element.Part, element.State)
System.Windows.Forms.Tests (6)
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (6)
28
VisualStyleRenderer renderer =
new
(element.ClassName, element.Part, element.State);
39
Assert.Throws<ArgumentNullException>("className", () => new
VisualStyleRenderer
(null, 0, 0));
55
Assert.Throws<ArgumentException>(() => new
VisualStyleRenderer
(element.ClassName, element.Part, element.State));
563
VisualStyleRenderer renderer =
new
("BUTTON", 0, 0);
570
VisualStyleRenderer renderer =
new
("TEXTSTYLE", 1, 0);
582
VisualStyleRenderer renderer =
new
("TEXTSTYLE", 1, 0);