Class ScrollBarStyleInfoIdentity
Implements the class that provide an identity information of ScrollBarStyleInfo using StyleInfoSubObjectIdentity.
Inheritance
System.Object
ScrollBarStyleInfoIdentity
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.WinForms.Controls.Styles
Assembly: Syncfusion.Core.WinForms.dll
Syntax
public class ScrollBarStyleInfoIdentity : StyleInfoSubObjectIdentity, IDisposable
Constructors
ScrollBarStyleInfoIdentity(Control)
Initializes a new instance of the ScrollBarStyleInfoIdentity class.
Declaration
public ScrollBarStyleInfoIdentity(Control scrollControl)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.Control | scrollControl | Control to create an identity for ScrollBars(HorizontalScrollBar/VerticalScrollBar). |
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 StyleInfoBase 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