Class ToggleButtonStyleInfoIdentity
Implements the class that provide the identity information of ToggleButtonVisualStyle using StyleInfoSubObjectIdentity.
Inheritance
System.Object
ToggleButtonStyleInfoIdentity
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
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ToggleButtonStyleInfoIdentity : StyleInfoSubObjectIdentity, IDisposable
Constructors
ToggleButtonStyleInfoIdentity(ToggleButton)
Initializes a new instance of the ToggleButtonStyleInfoIdentity class.
Declaration
public ToggleButtonStyleInfoIdentity(ToggleButton button)
Parameters
Type | Name | Description |
---|---|---|
ToggleButton | button | ToggleButton 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 ToggleButtonVisualStyle 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