Class TabbedFormVisualStyle
Represents the class to define the style for SfTabbedFormControl control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TabbedFormVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
TabbedFormVisualStyle()
Initializes a new instance of the TabbedFormVisualStyle class.
Declaration
public TabbedFormVisualStyle()
TabbedFormVisualStyle(TabbedFormStyleInfoIdentity)
Initializes a new instance of the TabbedFormVisualStyle class.
Declaration
public TabbedFormVisualStyle(TabbedFormStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
TabbedFormStyleInfoIdentity | identity | A TabbedFormStyleInfoIdentity that holds the identity for this TabbedFormStyleInfoStore. |
Properties
DefaultStyle
Gets the default style of the form.
Declaration
public static TabbedFormVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
TabbedFormVisualStyle |
ScrollButtonStyle
Gets or sets the style applied to the scroll buttons of the TabbedForm.
Declaration
public ScrollButtonStyleInfo ScrollButtonStyle { get; set; }
Property Value
Type | Description |
---|---|
ScrollButtonStyleInfo | The style that is applied to all the scroll buttons of the TabbedFormControl. The default value is null. |
TabPrimitiveStyle
Gets or sets the style applied to the tab primitives of the TabbedForm.
Declaration
public TabPrimitiveStyleInfo TabPrimitiveStyle { get; set; }
Property Value
Type | Description |
---|---|
TabPrimitiveStyleInfo | The style that is applied to all the primitives of the TabbedForm. |
TabStyle
Gets or sets the style applied to the tabs of the TabbedForm.
Declaration
public TabbedFormStyleInfo TabStyle { get; set; }
Property Value
Type | Description |
---|---|
TabbedFormStyleInfo | The style that is applied to all the tabs of the TabbedForm. The default value is null. |
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 tabbed form control.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Default style object. |