26 references to ColorProperty
System.Windows.Forms (26)
winforms\Managed\System\WinForms\ButtonRenderer.cs (2)
171
textColor = visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
241
textColor = visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (2)
152
textColor = visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
200
textColor = visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (2)
52
Color windowColor = visualStyleRenderer.GetColor(
ColorProperty
.FillColor);
139
Color textColor = visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
1031
textColor = DataGridViewButtonCellRenderer.DataGridViewButtonRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
933
textColor = DataGridViewColumnHeaderCellRenderer.VisualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2610
textColor = DataGridViewComboBoxCellRenderer.VisualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (3)
947
iconColor = DataGridViewRowHeaderCellRenderer.VisualStyleRenderer.GetColor(
ColorProperty
.TextColor);
1001
textColor = DataGridViewRowHeaderCellRenderer.VisualStyleRenderer.GetColor(
ColorProperty
.TextColor);
1095
iconColor = DataGridViewRowHeaderCellRenderer.VisualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
347
textColor = DataGridViewTopLeftHeaderCellRenderer.VisualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (1)
313
return visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (2)
145
textColor = visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
193
textColor = visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\TabRenderer.cs (2)
113
Color textColor = visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
170
Color textColor = visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\TextBoxRenderer.cs (2)
49
Color windowColor = visualStyleRenderer.GetColor(
ColorProperty
.FillColor);
120
Color textColor = visualStyleRenderer.GetColor(
ColorProperty
.TextColor);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleInformation.cs (2)
283
Color borderColor = visualStyleRenderer.GetColor(
ColorProperty
.BorderColor);
306
Color accentColor = visualStyleRenderer.GetColor(
ColorProperty
.AccentColorHint);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (4)
612
public Color GetColor(
ColorProperty
prop) {
614
if (!ClientUtils.IsEnumValid(prop, (int)prop, (int)
ColorProperty
.BorderColor, (int)
ColorProperty
.AccentColorHint))
616
throw new InvalidEnumArgumentException("prop", (int)prop, typeof(
ColorProperty
));