Class ContextMenuStyleInfo
Represents the class to define the style for System.Windows.Forms.ContextMenuStrip control.
Inheritance
System.Object
ContextMenuStyleInfo
Implements
System.ComponentModel.ICustomTypeDescriptor
System.IDisposable
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable
Inherited Members
Namespace: Syncfusion.Windows.Forms.Spreadsheet
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class ContextMenuStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ContextMenuStyleInfo()
Initializes a new instance of the
Declaration
public ContextMenuStyleInfo()
ContextMenuStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the ContextMenuStyleInfo class.
Declaration
public ContextMenuStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoSubObjectIdentity | identity | A ContextMenuStyleInfoIdentity that holds the identity for this ContextMenuStyleInfoStore. |
ContextMenuStyleInfo(StyleInfoSubObjectIdentity, StyleInfoStore)
Initializes a new instance of the ContextMenuStyleInfo class.
Declaration
public ContextMenuStyleInfo(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoSubObjectIdentity | identity | A ContextMenuStyleInfoIdentity that holds the identity for this ContextMenuStyleInfoStore. |
| StyleInfoStore | store | The store. |
Properties
DefaultStyle
Gets the default style value for the System.Windows.Forms.ContextMenuStrip control.
Declaration
public static ContextMenuStyleInfo DefaultStyle { get; }
Property Value
| Type |
|---|
| ContextMenuStyleInfo |
Methods
GetDefaultStyle()
Gets the default style value of the ContextMenuStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
| Type | Description |
|---|---|
| StyleInfoBase | Returns the default style value. |
Overrides
Implements
System.ComponentModel.ICustomTypeDescriptor
System.IDisposable
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable