15 references to SetParameters
System.Windows.Forms (12)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellRenderer.cs (1)
31
VisualStyleRenderer.
SetParameters
(s_headerElement);
System\Windows\Forms\Controls\ProgressBar\ProgressBarRenderer.cs (1)
99
t_visualStyleRenderer.
SetParameters
(element);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (4)
221
vsRenderer.
SetParameters
(VisualStyleElement.ToolBar.Bar.Normal);
288
vsRenderer.
SetParameters
(VisualStyleElement.Rebar.Gripper.Normal);
295
vsRenderer.
SetParameters
(VisualStyleElement.Rebar.GripperVertical.Normal);
775
vsRenderer.
SetParameters
(VisualStyleElement.Status.Bar.Normal);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (5)
270
vsr.
SetParameters
(VisualStyleElement.Spin.Up.Disabled);
274
vsr.
SetParameters
(VisualStyleElement.Spin.Up.Pressed);
285
vsr.
SetParameters
(VisualStyleElement.Spin.Down.Disabled);
289
vsr.
SetParameters
(VisualStyleElement.Spin.Down.Pressed);
293
vsr.
SetParameters
(_mouseOver == ButtonID.Down
System\Windows\Forms\VisualStyles\VisualStyleInformation.cs (1)
200
t_visualStyleRenderer.
SetParameters
(element);
System.Windows.Forms.Tests (3)
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (3)
537
renderer.
SetParameters
(element);
549
Assert.Throws<ArgumentNullException>("element", () => renderer.
SetParameters
(null));
557
Assert.Throws<ArgumentException>(() => renderer.
SetParameters
(element));