Class TrackBarExVisualStyle
Represents a class to define style for the TrackBarEx control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TrackBarExVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
TrackBarExVisualStyle()
Initializes a new instance of the TrackBarExVisualStyle class.
Declaration
public TrackBarExVisualStyle()
TrackBarExVisualStyle(TrackBarExStyleInfoIdentity)
Initializes a new instance of the TrackBarExVisualStyle class.
Declaration
public TrackBarExVisualStyle(TrackBarExStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
TrackBarExStyleInfoIdentity | identity | A TrackBarExStyleInfoIdentity that holds the identity for this TrackBarExStyleInfoStore. |
TrackBarExVisualStyle(TrackBarExStyleInfoIdentity, TrackBarExStyleInfoStore)
Initializes a new instance of the TrackBarExVisualStyle class.
Declaration
public TrackBarExVisualStyle(TrackBarExStyleInfoIdentity identity, TrackBarExStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
TrackBarExStyleInfoIdentity | identity | A TrackBarExStyleInfoIdentity that holds the identity for this TrackBarExStyleInfoStore. |
TrackBarExStyleInfoStore | store | Holds instance of a TrackBarExStyleInfoStore class |
TrackBarExVisualStyle(TrackBarExStyleInfoStore)
Initializes a new instance of the TrackBarExVisualStyle class.
Declaration
public TrackBarExVisualStyle(TrackBarExStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
TrackBarExStyleInfoStore | store | Holds instance of a TrackBarExStyleInfoStore class. |
Properties
BackColor
Gets or sets the System.Drawing.Color value used to draw the back color of the TrackBarEx control in the default state.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the back color of the trackbar. The default value is null. |
ButtonBackColor
Gets or sets the System.Drawing.Color value used to draw button back color of the TrackBarEx control in the button default state.
Declaration
[ThemeStudio]
public Color ButtonBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ButtonForeColor
Gets or sets the System.Drawing.Color value used to draw button fore color of the TrackBarEx control in the button default state.
Declaration
[ThemeStudio]
public Color ButtonForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default style value for the TrackBarEx control.
Declaration
public static TrackBarExVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
TrackBarExVisualStyle |
DisabledBackColor
Gets or sets the System.Drawing.Color value used to draw the back color of the TrackBarEx control in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledBackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled back color of the trackbar. The default value is null. |
DisabledButtonBackColor
Gets or sets the System.Drawing.Color value used to draw button back color of the TrackBarEx control in the button disabled state
Declaration
[ThemeStudio]
public Color DisabledButtonBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledButtonForeColor
Gets or sets the System.Drawing.Color value used to draw button fore color of the TrackBarEx control in the button disabled state
Declaration
[ThemeStudio]
public Color DisabledButtonForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledSliderColor
Gets or sets the System.Drawing.Color value used to draw slider color of the TrackBarEx control in the slider disabled state
Declaration
[ThemeStudio]
public Color DisabledSliderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DisabledTrackBarColor
Gets or sets the System.Drawing.Color value used to draw the trackbar color of the TrackBarEx control in the disabled state.
Declaration
[ThemeStudio]
public Color DisabledTrackBarColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the disabled trackbar color of the trackbar. The default value is null. |
HoverButtonBackColor
Gets or sets the System.Drawing.Color value used to draw button back color of the TrackBarEx control in the button hover state
Declaration
[ThemeStudio]
public Color HoverButtonBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverButtonForeColor
Gets or sets the System.Drawing.Color value used to draw button fore color of the TrackBarEx control in the button hover state
Declaration
[ThemeStudio]
public Color HoverButtonForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverSliderColor
Gets or sets the System.Drawing.Color value used to draw slider color of the TrackBarEx control in the slider hover state
Declaration
[ThemeStudio]
public Color HoverSliderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedButtonBackColor
Gets or sets the System.Drawing.Color value used to draw button back color of the TrackBarEx control in the button pressed state
Declaration
[ThemeStudio]
public Color PressedButtonBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedButtonForeColor
Gets or sets the System.Drawing.Color value used to draw button fore color of the TrackBarEx control in the button pressed state
Declaration
[ThemeStudio]
public Color PressedButtonForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedSliderColor
Gets or sets the System.Drawing.Color value used to draw slider color of the TrackBarEx control in the slider pressed state
Declaration
[ThemeStudio]
public Color PressedSliderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ShowDivider
Gets or sets the
TrackBarEx control
Declaration
[ThemeStudio]
public bool ShowDivider { get; set; }
Property Value
Type |
---|
System.Boolean |
SliderColor
Gets or sets the System.Drawing.Color value used to draw slider color of the TrackBarEx control in the slider default state.
Declaration
[ThemeStudio]
public Color SliderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
TrackBarColor
Gets or sets the System.Drawing.Color value used to draw the trackbar color of the TrackBarEx control in the default state.
Declaration
[ThemeStudio]
public Color TrackBarColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to draw the trackbar color of the trackbar. The default value is null. |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Gets the default style value of the
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |