Class ScrollButtonStyleInfo
Represents the class to define the style for scroll button control in TabbedForm.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ScrollButtonStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ScrollButtonStyleInfo()
Initializes a new instance of the TabbedFormStyleInfo class.
Declaration
public ScrollButtonStyleInfo()
ScrollButtonStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the ScrollButtonStyleInfo class.
Declaration
public ScrollButtonStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this ScrollButtonStyleInfo. |
ScrollButtonStyleInfo(StyleInfoSubObjectIdentity, ScrollButtonStyleInfoStore)
Initializes a new instance of the ScrollButtonStyleInfo class.
Declaration
public ScrollButtonStyleInfo(StyleInfoSubObjectIdentity identity, ScrollButtonStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this ScrollButtonStyleInfo. |
ScrollButtonStyleInfoStore | store | A ScrollButtonStyleInfoStore that holds data for this ScrollButtonStyleInfo. All changes in this style object will be saved in the ScrollButtonStyleInfoStore object. |
ScrollButtonStyleInfo(ScrollButtonStyleInfo)
Initializes a new instance of the ScrollButtonStyleInfo class.
Declaration
public ScrollButtonStyleInfo(ScrollButtonStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ScrollButtonStyleInfo | style | The style object that contains the original data. |
ScrollButtonStyleInfo(ScrollButtonStyleInfoStore)
Initializes a new instance of the ScrollButtonStyleInfo class.
Declaration
public ScrollButtonStyleInfo(ScrollButtonStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
ScrollButtonStyleInfoStore | store | The ScrollButtonStyleInfoStore object. |
Properties
ArrowColor
Gets or sets the arrow color of the scroll button in SfTabbedFormControl control.
Declaration
public Color ArrowColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BackColor
Gets or sets the back color of the scroll button in SfTabbedFormControl control.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default style of the scroll button.
Declaration
public static ScrollButtonStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
ScrollButtonStyleInfo |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Override this method to create a product-specific identity object for a sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | The StyleInfoProperty. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | An identity object for a sub object of this style. |
Overrides
Examples
The following code is an example how Essential form creates FormVisualStyleInfoSubObjectIdentity:
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
{
return new FormVisualStyleInfoSubObjectIdentity(this, sip);
}
GetDefaultStyle()
Provide the default style of the form.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Default style object. |