Class ScrollBarStyleInfo
Implements the functionalities that provides a StyleInfoBase object for ScrollBarStyleInfo properties in a ScrollBar.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ScrollBarStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ScrollBarStyleInfo()
Initializes a new instance of the ScrollBarStyleInfo class.
Declaration
public ScrollBarStyleInfo()
ScrollBarStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the ScrollBarStyleInfo class.
Declaration
public ScrollBarStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this ScrollBarStyleInfo. |
ScrollBarStyleInfo(StyleInfoSubObjectIdentity, ScrollBarStyleInfoStore)
Initializes a new instance of the ScrollBarStyleInfo class.
Declaration
public ScrollBarStyleInfo(StyleInfoSubObjectIdentity identity, ScrollBarStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this StyleInfoBase. |
ScrollBarStyleInfoStore | store | A StyleInfoStore that holds data for this object. All changes in this style object will be saved in the StyleInfoStore object. |
Properties
ArrowButtonBackColor
Gets or sets the background color for the arrow button.
Declaration
[ThemeStudio]
public Color ArrowButtonBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Remarks
This is applicable for both the Min and Max buttons.
ArrowButtonBorderColor
Gets or sets the border background color for the arrow button.
Declaration
[ThemeStudio]
public Color ArrowButtonBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonDisabledBackColor
Gets or sets the value for ArrowButtonDisabledBackColor.
Declaration
[ThemeStudio]
public Color ArrowButtonDisabledBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonDisabledBorderColor
Gets or sets the border background color for the arrow button in disabled state.
Declaration
[ThemeStudio]
public Color ArrowButtonDisabledBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonDisabledForeColor
Gets or sets the value for ArrowButtonDisabledForeColor.
Declaration
[ThemeStudio]
public Color ArrowButtonDisabledForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonForeColor
Gets or sets the foreground color for the arrow button.
Declaration
[ThemeStudio]
public Color ArrowButtonForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Remarks
This will set the background color for the arrow which is shown in the arrow button. This is applicable for both the Min and Max buttons.
ArrowButtonHoverBackColor
Gets or sets the background color for the arrow button in hovering state.
Declaration
[ThemeStudio]
public Color ArrowButtonHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonHoverBorderColor
Gets or sets the border background color for the arrow button in hover state.
Declaration
[ThemeStudio]
public Color ArrowButtonHoverBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonHoverForeColor
Gets or sets the foreground color for the arrow button in hovering state.
Declaration
[ThemeStudio]
public Color ArrowButtonHoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonPressedBackColor
Gets or sets the background color for the arrow button in pressed state.
Declaration
[ThemeStudio]
public Color ArrowButtonPressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonPressedBorderColor
Gets or sets the border background color for the arrow button in pressed state.
Declaration
[ThemeStudio]
public Color ArrowButtonPressedBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonPressedForeColor
Gets or sets the foreground color for the arrow button in pressed state.
Declaration
[ThemeStudio]
public Color ArrowButtonPressedForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default style for the ScrollBarStyleInfo object.
Declaration
public static ScrollBarStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
ScrollBarStyleInfo |
HasArrowButtonBackColor
Gets a value indicating whether the ArrowButtonBackColor property has been modified for the current object.
Declaration
public bool HasArrowButtonBackColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonBorderColor
Gets a value indicating whether the ArrowButtonBorderColor property has been modified for the current object.
Declaration
public bool HasArrowButtonBorderColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonDisabledBackColor
Gets a value indicating whether the ArrowButtonDisabledBackColor property has been modified for the current object.
Declaration
public bool HasArrowButtonDisabledBackColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonDisabledBorderColor
Gets a value indicating whether the ArrowButtonDisabledBorderColor property has been modified for the current object.
Declaration
public bool HasArrowButtonDisabledBorderColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonDisabledForeColor
Gets a value indicating whether the ArrowButtonDisabledForeColor property has been modified for the current object.
Declaration
public bool HasArrowButtonDisabledForeColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonForeColor
Gets a value indicating whether the ArrowButtonForeColor property has been modified for the current object.
Declaration
public bool HasArrowButtonForeColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonHoverBackColor
Gets a value indicating whether the ArrowButtonHoverBackColor property has been modified for the current object.
Declaration
public bool HasArrowButtonHoverBackColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonHoverBorderColor
Gets a value indicating whether the ArrowButtonHoverBorderColor property has been modified for the current object.
Declaration
public bool HasArrowButtonHoverBorderColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonHoverForeColor
Gets a value indicating whether the ArrowButtonHoverForeColor property has been modified for the current object.
Declaration
public bool HasArrowButtonHoverForeColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonPressedBackColor
Gets a value indicating whether the ArrowButtonPressedBackColor property has been modified for the current object.
Declaration
public bool HasArrowButtonPressedBackColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonPressedBorderColor
Gets a value indicating whether the ArrowButtonPressedBorderColor property has been modified for the current object.
Declaration
public bool HasArrowButtonPressedBorderColor { get; }
Property Value
Type |
---|
System.Boolean |
HasArrowButtonPressedForeColor
Gets a value indicating whether the ArrowButtonPressedForeColor property has been modified for the current object.
Declaration
public bool HasArrowButtonPressedForeColor { get; }
Property Value
Type |
---|
System.Boolean |
HasScrollBarBackColor
Gets a value indicating whether the ScrollBarBackColor property has been modified for the current object.
Declaration
public bool HasScrollBarBackColor { get; }
Property Value
Type |
---|
System.Boolean |
HasThumbBorderColor
Gets a value indicating whether the ThumbBorderColor property has been modified for the current object.
Declaration
public bool HasThumbBorderColor { get; }
Property Value
Type |
---|
System.Boolean |
HasThumbColor
Gets a value indicating whether the ThumbColor property has been modified for the current object.
Declaration
public bool HasThumbColor { get; }
Property Value
Type |
---|
System.Boolean |
HasThumbDisabledBorderColor
Gets a value indicating whether the ThumbDisabledBorderColor property has been modified for the current object.
Declaration
public bool HasThumbDisabledBorderColor { get; }
Property Value
Type |
---|
System.Boolean |
HasThumbDisabledColor
Gets a value indicating whether the ThumbDisabledColor property has been modified for the current object.
Declaration
public bool HasThumbDisabledColor { get; }
Property Value
Type |
---|
System.Boolean |
HasThumbHoverBorderColor
Gets a value indicating whether the ThumbHoverBorderColor property has been modified for the current object.
Declaration
public bool HasThumbHoverBorderColor { get; }
Property Value
Type |
---|
System.Boolean |
HasThumbHoverColor
Gets a value indicating whether the ThumbHoverColor property has been modified for the current object.
Declaration
public bool HasThumbHoverColor { get; }
Property Value
Type |
---|
System.Boolean |
HasThumbPressedBorderColor
Gets a value indicating whether the ThumbPressedBorderColor property has been modified for the current object.
Declaration
public bool HasThumbPressedBorderColor { get; }
Property Value
Type |
---|
System.Boolean |
HasThumbPressedColor
Gets a value indicating whether the ThumbPressedColor property has been modified for the current object.
Declaration
public bool HasThumbPressedColor { get; }
Property Value
Type |
---|
System.Boolean |
ScrollBarBackColor
Gets or sets the background color for the scrollbar.
Declaration
[ThemeStudio]
public Color ScrollBarBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbBorderColor
Gets or sets a value for ThumbBorderColor.
Declaration
[ThemeStudio]
public Color ThumbBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbColor
Gets or sets the background color for the thumb.
Declaration
[ThemeStudio]
public Color ThumbColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbDisabledBorderColor
Gets or sets a value for ThumbBorderColor in disabled state.
Declaration
[ThemeStudio]
public Color ThumbDisabledBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbDisabledColor
Gets or sets a value for ThumbDisabledColor.
Declaration
[ThemeStudio]
public Color ThumbDisabledColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbHoverBorderColor
Gets or sets a value for ThumbBorderColor in hover state.
Declaration
[ThemeStudio]
public Color ThumbHoverBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbHoverColor
Gets or sets the background color for the thumb in hovering state.
Declaration
[ThemeStudio]
public Color ThumbHoverColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbPressedBorderColor
Gets or sets a value for ThumbBorderColor in pressed state.
Declaration
[ThemeStudio]
public Color ThumbPressedBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbPressedColor
Gets or sets the background color for the thumb in pressed state.
Declaration
[ThemeStudio]
public Color ThumbPressedColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Gets the default value for the ScrollBarStyleInfo.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default value for the ScrollBarStyleInfo object. |
Overrides
MakeCopy(StyleInfoBase, StyleInfoProperty)
Makes an exact copy of the current object.
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | The new owner style object for the copied object. |
StyleInfoProperty | sip | The identifier for this object. |
Returns
Type | Description |
---|---|
IStyleInfoSubObject | A copy of the current object registered with the new owner style object. |