Class PopupMenuVisualStyle
Represents the class to define the style for PopupMenu control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class PopupMenuVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
PopupMenuVisualStyle()
Initializes a new instance of the PopupMenuVisualStyle class.
Declaration
public PopupMenuVisualStyle()
PopupMenuVisualStyle(PopupMenuStyleInfoIdentity)
Initializes a new instance of the PopupMenuVisualStyle class.
Declaration
public PopupMenuVisualStyle(PopupMenuStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
PopupMenuStyleInfoIdentity | identity | A PopupMenuStyleInfoIdentity that holds the identity for this PopupMenuStyleInfoStore. |
PopupMenuVisualStyle(PopupMenuStyleInfoIdentity, PopupMenuStyleInfoStore)
Initializes a new instance of the PopupMenuVisualStyle class.
Declaration
public PopupMenuVisualStyle(PopupMenuStyleInfoIdentity identity, PopupMenuStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
PopupMenuStyleInfoIdentity | identity | A PopupMenuStyleInfoIdentity that holds the identity for this PopupMenuStyleInfoStore. |
PopupMenuStyleInfoStore | store | Holds instance of a PopupMenuStyleInfoStore class |
PopupMenuVisualStyle(PopupMenuStyleInfoStore)
Initializes a new instance of the PopupMenuVisualStyle class.
Declaration
public PopupMenuVisualStyle(PopupMenuStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
PopupMenuStyleInfoStore | store | Holds instance of a PopupMenuStyleInfoStore class. |
Properties
BarItemStyle
Gets or sets style for bar item of the PopupMenuVisualStyle control.
Declaration
[ThemeStudio]
public BarItemStyleInfo BarItemStyle { get; set; }
Property Value
Type |
---|
BarItemStyleInfo |
BorderColor
Gets or sets border color of PopupMenu.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ComboBoxBarItemStyle
Gets or sets style for bar item of the PopupMenuVisualStyle control.
Declaration
[ThemeStudio]
public ComboBoxBarItemStyleInfo ComboBoxBarItemStyle { get; set; }
Property Value
Type |
---|
ComboBoxBarItemStyleInfo |
DefaultStyle
Gets the default style value for the PopupMenu control.
Declaration
public static PopupMenuVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
PopupMenuVisualStyle |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Gets the default style value of the
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |