ContextMenuStyleInfo Class
Represents the class to define the style for System.Windows.Forms.ContextMenuStrip control.
Inheritance
System.Object
ContextMenuStyleInfo
Namespace: Syncfusion.Windows.Forms.Spreadsheet
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class ContextMenuStyleInfo : StyleInfoSubObjectBase
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 |
---|---|---|
Syncfusion.Styles.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 |
---|---|---|
Syncfusion.Styles.StyleInfoSubObjectIdentity | identity | A ContextMenuStyleInfoIdentity that holds the identity for this ContextMenuStyleInfoStore. |
Syncfusion.Styles.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 |
---|---|
Syncfusion.Styles.StyleInfoBase | Returns the default style value. |