WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContextMenuStripExVisualStyle

    Show / Hide Table of Contents

    Class ContextMenuStripExVisualStyle

    Represents the class to define the style of ContextMenuStripEx control.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    VisualStyleBase
    ContextMenuStripExVisualStyle
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    VisualStyleBase.UpdateStyles(IThemeProvider)
    StyleInfoSubObjectBase.Dispose(Boolean)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)
    StyleInfoSubObjectBase.SubObjectIdentity
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Owner
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.ClearCache()
    StyleInfoBase.Dispose()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.BeginInit()
    StyleInfoBase.EndInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.InheritStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.Store
    StyleInfoBase.CacheValues
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.Updating
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsChanged
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class ContextMenuStripExVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject

    Constructors

    ContextMenuStripExVisualStyle()

    Initializes a new instance of the ContextMenuStripExVisualStyle class.

    Declaration
    public ContextMenuStripExVisualStyle()

    ContextMenuStripExVisualStyle(ContextMenuStripExStyleInfoIdentity)

    Initializes a new instance of the ContextMenuStripExVisualStyle class.

    Declaration
    public ContextMenuStripExVisualStyle(ContextMenuStripExStyleInfoIdentity identity)
    Parameters
    Type Name Description
    ContextMenuStripExStyleInfoIdentity identity

    A ContextMenuStripExStyleInfoIdentity that holds the identity for this ContextMenuStripExStyleInfoStore.

    ContextMenuStripExVisualStyle(ContextMenuStripExStyleInfoIdentity, StyleInfoStore)

    Initializes a new instance of the ContextMenuStripExVisualStyle class.

    Declaration
    public ContextMenuStripExVisualStyle(ContextMenuStripExStyleInfoIdentity identity, StyleInfoStore store)
    Parameters
    Type Name Description
    ContextMenuStripExStyleInfoIdentity identity

    A ContextMenuStripExStyleInfoIdentity that holds the identity for this ContextMenuStripExStyleInfoStore.

    StyleInfoStore store

    The store.

    Properties

    BackColor

    Gets or sets the background color of the ContextMenuStripEx control.

    Declaration
    [ThemeStudio]
    public Color BackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    BorderColor

    Gets or sets the System.Drawing.Color value used to draw the border of the ContextMenuStripEx control in default state.

    Declaration
    [ThemeStudio]
    public Color BorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    DefaultStyle

    Gets the default ContextMenuStripExStyleInfo value.

    Declaration
    public static ContextMenuStripExVisualStyle DefaultStyle { get; }
    Property Value
    Type Description
    ContextMenuStripExVisualStyle

    DisabledForeColor

    Gets or sets the fore color value of the items of ContextMenuStripEx control in disabled state.

    Declaration
    [ThemeStudio]
    public Color DisabledForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Font

    Gets or sets the System.Drawing.Font value for the drop down of ContextMenuStripEx control.

    Declaration
    public Font Font { get; set; }
    Property Value
    Type Description
    System.Drawing.Font

    ForeColor

    Gets or sets the fore color value of the ContextMenuStripEx control.

    Declaration
    [ThemeStudio]
    public Color ForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    HoverBackColor

    Gets or sets the background color of items of the ContextMenuStripEx control in mouse hover state.

    Declaration
    [ThemeStudio]
    public Color HoverBackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    HoverForeColor

    Gets or sets the fore color value of the items of ContextMenuStripEx control in hover state.

    Declaration
    [ThemeStudio]
    public Color HoverForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    PressedBackColor

    Gets or sets the background color of items of ContextMenuStripEx control in pressed state.

    Declaration
    [ThemeStudio]
    public Color PressedBackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The System.Drawing.Color value is used to fill the background of the drop down.

    PressedForeColor

    Gets or sets the fore color value of items of the ContextMenuStripEx control in pressed state

    Declaration
    [ThemeStudio]
    public Color PressedForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Methods

    GetDefaultStyle()

    Gets the default style value of the ContextMenuStripExVisualStyle class.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    Returns the default style value.

    Overrides
    VisualStyleBase.GetDefaultStyle()

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved