Class MetroColors
Inheritance
System.Object
MetroColors
Implements
System.ICloneable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.Shared.Base.dll
public class MetroColors : ICloneable
Constructors
Declaration
Fields
Declaration
protected Color m_borderColorMetro
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonDefaultBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonDefaultBottomColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonDefaultTopColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonDisabledBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonDisabledBottomColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonDisabledTopColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonPressedBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonPressedBottomColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonPressedTopColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonSelectedBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonSelectedBottomColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ButtonSelectedTopColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvDisabledBackColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvDisabledBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvDisabledTickColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvIndeterminateRectangleColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvNormalBackColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvNormalBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvNormalTickColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvPushedBackColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvPushedBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvPushedTickColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvSelectedBackColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvSelectedBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_CheckBoxAdvSelectedTickColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvArrowColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvButtonUpperLineColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvHotBackColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvHotBackgroundButtonColor1
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvHotBackgroundButtonColor2
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvHotBackgroundButtonColor3
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvHotBackgroundButtonColor4
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvHotBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvLowerArrowLineColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvNormalBackColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvNormalBackgroundButtonColor1
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvNormalBackgroundButtonColor2
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvNormalBackgroundButtonColor3
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvNormalBackgroundButtonColor4
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvNormalBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvPushedBackgroundButtonColor1
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvPushedBackgroundButtonColor2
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvPushedBackgroundButtonColor3
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvPushedBackgroundButtonColor4
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboBoxAdvPushedBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboButtonBorder
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboButtonDarkColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboButtonHighlightBorder
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboButtonHighlightDarkColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboButtonHighlightLightColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboButtonLightColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboButtonPressBorder
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboButtonPressDarkColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_ComboButtonPressLightColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_foreColorBottomFirstMetro
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_foreColorBottomLastMetro
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_foreColorBottomLineMetro
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_foreColorTopFirstMetro
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_foreColorTopLastMetro
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_foreColorTopLineMetro
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_RadioButtonAdvCheckMarkBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_RadioButtonAdvCheckMarkNormalBottomColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_RadioButtonAdvCheckMarkPushedBottomColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_RadioButtonAdvCheckMarkSelectedBottomColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_RadioButtonAdvNormalBackColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_RadioButtonAdvNormalBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_RadioButtonAdvPushedBackColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_RadioButtonAdvPushedBorderColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_RadioButtonAdvSelectedBackColor
Field Value
Type |
System.Drawing.Color |
Declaration
protected Color m_RadioButtonAdvSelectedBorderColor
Field Value
Type |
System.Drawing.Color |
Properties
Declaration
public Color ButtonDefaultBorderColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonDefaultBottomColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonDefaultTopColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonDisabledBorderColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonDisabledBottomColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonDisabledTopColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonPressedBorderColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonPressedBottomColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonPressedTopColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonSelectedBorderColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonSelectedBottomColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ButtonSelectedTopColor { get; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvDisabledBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvDisabledBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvDisabledTickColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvIndeterminateRectangleColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvNormalBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvNormalBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvNormalTickColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvPushedBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvPushedBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvPushedTickColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvSelectedBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvSelectedBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color CheckBoxAdvSelectedTickColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvArrowColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvButtonUpperLineColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvHotBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvHotBackgroundButtonColor1 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvHotBackgroundButtonColor2 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvHotBackgroundButtonColor3 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvHotBackgroundButtonColor4 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvHotBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvLowerArrowLineColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvNormalBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvNormalBackgroundButtonColor1 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvNormalBackgroundButtonColor2 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvNormalBackgroundButtonColor3 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvNormalBackgroundButtonColor4 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvNormalBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundButtonColor1 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundButtonColor2 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundButtonColor3 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundButtonColor4 { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundListItemBorder { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundListItemBottom { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundListItemBottomFirst { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundListItemBottomLast { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundListItemTop { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundListItemTopFirst { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBackgroundListItemTopLast { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color ComboBoxAdvPushedBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets or sets default colors for metro visual style.
Declaration
public static MetroColors Default { get; }
Property Value
Gets or sets default colorscheme for metro visual style.
Declaration
public static MetroTheme DefaultTheme { get; set; }
Property Value
Declaration
public Color RadioButtonAdvCheckMarkBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color RadioButtonAdvCheckMarkNormalBottomColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color RadioButtonAdvCheckMarkPushedBottomColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color RadioButtonAdvCheckMarkSelectedBottomColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color RadioButtonAdvNormalBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color RadioButtonAdvNormalBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color RadioButtonAdvPushedBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color RadioButtonAdvPushedBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color RadioButtonAdvSelectedBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public Color RadioButtonAdvSelectedBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Methods
Applies colors for managed scheme.
Declaration
public static void ApplyManagedColors(Form form, Color baseColor)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Form |
form |
Container form.
|
System.Drawing.Color |
baseColor |
Base color for the managed theme.
|
Declaration
public static void ApplyManagedScheme(Form form, MetroTheme scheme)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Form |
form |
|
MetroTheme |
scheme |
|
Declaration
public virtual object Clone()
Returns
Gets color table for Metro Color.
Declaration
public static MetroColors GetColorTable(MetroTheme theme)
Parameters
Returns
Initialize colors general for all colorscheme of the Metro visual style.
Declaration
protected virtual void InitializeColors()
Declaration
protected static void OnManagedColorApplied(Form form, Color baseColor)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Form |
form |
|
System.Drawing.Color |
baseColor |
|
Events
Declaration
public static event MetroColors.ManagedColorsAppliedEventHandler ManagedColorsApplied
Event Type
Implements
System.ICloneable