1 write to State
System.Windows.Forms (1)
System\Windows\Forms\VisualStyles\VisualStyleElement.cs (1)
23State = state;
13 references to State
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.DataGridViewComboBoxCellRenderer.cs (1)
49t_visualStyleRenderer.SetParameters(s_comboBoxBorder.ClassName, s_comboBoxBorder.Part, s_comboBoxBorder.State);
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (2)
126public VisualStyleRenderer(VisualStyleElement element) : this(element.ClassName, element.Part, element.State) 190SetParameters(element.ClassName, element.Part, element.State);
System.Windows.Forms.Tests (10)
System\Windows\Forms\VisualStyles\VisualStyleElementTests.cs (2)
22Assert.Equal(state, element.State); 655Assert.Equal(expectedState, element.State);
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (8)
28VisualStyleRenderer renderer = new(element.ClassName, element.Part, element.State); 31Assert.Equal(element.State, renderer.State); 55Assert.Throws<ArgumentException>(() => new VisualStyleRenderer(element.ClassName, element.Part, element.State)); 65Assert.Equal(element.State, renderer.State); 516renderer.SetParameters(element.ClassName, element.Part, element.State); 519Assert.Equal(element.State, renderer.State); 529Assert.Throws<ArgumentException>(() => renderer.SetParameters(element.ClassName, element.Part, element.State)); 540Assert.Equal(element.State, renderer.State);