Class ButtonStyleInfoIdentity
Implements the class that provide the identity information of ButtonVisualStyle using StyleInfoSubObjectIdentity.
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.WinForms.Controls.Styles
Assembly: Syncfusion.Core.WinForms.dll
Syntax
public class ButtonStyleInfoIdentity : StyleInfoSubObjectIdentity, IDisposable
Constructors
ButtonStyleInfoIdentity(SfButton)
Initializes a new instance of the ButtonStyleInfoIdentity class.
Declaration
public ButtonStyleInfoIdentity(SfButton button)
Parameters
Type | Name | Description |
---|---|---|
SfButton | button | SfButton 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 IStyleInfo. |
Overrides
OnStyleChanged(StyleInfoBase, StyleInfoProperty)
Occurs when a property in the ButtonVisualStyle 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