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