Class PopupMenuStyleInfoIdentity
Implements the class that provide the identity information of PopupMenuVisualStyle using StyleInfoSubObjectIdentity.
Inheritance
System.Object
PopupMenuStyleInfoIdentity
Implements
System.IDisposable
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.Tools.XPMenus
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class PopupMenuStyleInfoIdentity : StyleInfoSubObjectIdentity, IDisposable
Constructors
PopupMenuStyleInfoIdentity(PopupMenu)
Initializes a new instance of the PopupMenuStyleInfoIdentity class.
Declaration
public PopupMenuStyleInfoIdentity(PopupMenu popupMenu)
Parameters
Type | Name | Description |
---|---|---|
PopupMenu | popupMenu | PopupMenu to create an identity. |
Methods
GetBaseStyles(IStyleInfo)
Loops through all base styles until it finds a style that has a specific property initialized.
Declaration
public override IStyleInfo[] GetBaseStyles(IStyleInfo thisStyleInfo)
Parameters
Type | Name | Description |
---|---|---|
IStyleInfo | thisStyleInfo | A instance of IStyleInfo |
Returns
Type | Description |
---|---|
IStyleInfo[] | Returns the |
Overrides
OnStyleChanged(StyleInfoBase, StyleInfoProperty)
Occurs when a property in the PopupMenuVisualStyle has changed.
Declaration
public override void OnStyleChanged(StyleInfoBase style, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | style | The StyleInfoBase instance that has changed. |
StyleInfoProperty | sip | A StyleInfoProperty that identifies the property to operate on. |
Overrides
Implements
System.IDisposable