Class VistaMenuColors
Inheritance
System.Object
VistaMenuColors
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()
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class VistaMenuColors
Constructors
VistaMenuColors()
Declaration
public VistaMenuColors()
Properties
BackgroundColor
Declaration
public static Color BackgroundColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderColor
Declaration
public static Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelBGColorDark
Declaration
public static Color SelBGColorDark { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelBGColorLight
Declaration
public static Color SelBGColorLight { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelBorderColor
Declaration
public static Color SelBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelCheckedMenuBGColor
Declaration
public static Color SelCheckedMenuBGColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelCheckedMenuBorderColor
Declaration
public static Color SelCheckedMenuBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelCheckedMenuColor
Declaration
public static Color SelCheckedMenuColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelImageBGColor
Declaration
public static Color SelImageBGColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelImageBorderColor
Declaration
public static Color SelImageBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SeparatorColor
Declaration
public static Color SeparatorColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
UpdateMenuColors()
Initializes default colors based on SystemColors.
Declaration
public static void UpdateMenuColors()
Remarks
Calling this will not affect the custom colors set using the properties.
Events
MenuColorsChanged
Fired when the colors have changed either because of change in system colors or when a custom color is specified using one of the properties.
Declaration
public static event EventHandler MenuColorsChanged
Event Type
Type |
---|
System.EventHandler |
Remarks
Take a look at the class reference for this class for information on how to notify this class regarding system color changes.