47 references to VisualStyleRenderer
System.Windows.Forms (17)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.DataGridViewButtonCellRenderer.cs (1)
19
s_visualStyleRenderer ??= new
VisualStyleRenderer
(s_buttonElement);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellRenderer.cs (1)
19
s_visualStyleRenderer ??= new
VisualStyleRenderer
(s_checkBoxElement);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellRenderer.cs (1)
19
s_visualStyleRenderer ??= new
VisualStyleRenderer
(s_headerElement);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.DataGridViewComboBoxCellRenderer.cs (2)
24
t_visualStyleRenderer ??= new
VisualStyleRenderer
(s_comboBoxReadOnlyButton);
45
t_visualStyleRenderer = new
VisualStyleRenderer
(s_comboBoxBorder);
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.DataGridViewHeaderCellRenderer.cs (1)
18
s_visualStyleRenderer ??= new
VisualStyleRenderer
(VisualStyleElement.Header.Item.Normal);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellRenderer.cs (1)
19
s_visualStyleRenderer ??= new
VisualStyleRenderer
(s_headerElement);
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellRenderer.cs (1)
19
s_visualStyleRenderer ??= new
VisualStyleRenderer
(s_headerElement);
System\Windows\Forms\Controls\ListView\DrawListViewColumnHeaderEventArgs.cs (1)
90
VisualStyleRenderer vsr =
new
(VisualStyleElement.Header.Item.Normal);
System\Windows\Forms\Controls\ProgressBar\ProgressBarRenderer.cs (1)
95
t_visualStyleRenderer = new
VisualStyleRenderer
(element);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (2)
1694
VisualStyleRenderer explorerTreeRenderer =
new
(element);
1700
VisualStyleRenderer explorerTreeRenderer =
new
(VisualStyleElement.ExplorerTreeView.Glyph.Opened);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
59
t_renderer = new
VisualStyleRenderer
(VisualStyleElement.ToolBar.Button.Normal);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
529
VisualStyleRenderer vsr =
new
(VisualStyleElement.TextBox.TextEdit.Normal);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
264
VisualStyleRenderer vsr =
new
(_mouseOver == ButtonID.Up
System\Windows\Forms\Form.cs (1)
4406
_sizeGripRenderer ??= new
VisualStyleRenderer
(VisualStyleElement.Status.Gripper.Normal);
System\Windows\Forms\VisualStyles\VisualStyleInformation.cs (1)
196
t_visualStyleRenderer = new
VisualStyleRenderer
(element);
System.Windows.Forms.Tests (30)
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (30)
62
VisualStyleRenderer renderer =
new
(element);
73
Assert.Throws<NullReferenceException>(() => new
VisualStyleRenderer
(null));
80
Assert.Throws<ArgumentException>(() => new
VisualStyleRenderer
(element));
135
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
169
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
179
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
204
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
214
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
222
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
232
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
242
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
266
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
279
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
292
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
302
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
312
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
324
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
351
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
378
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
391
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
417
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
448
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
479
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
489
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
501
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Normal);
515
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Hot);
528
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Hot);
536
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Hot);
548
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Hot);
556
VisualStyleRenderer renderer =
new
(VisualStyleElement.Button.PushButton.Hot);