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