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