Class ScrollBarStyleInfo
Implements the functionalities that provides a StyleInfoBase object for ScrollBarStyleInfo properties in a ScrollBar.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.Controls.Styles
Assembly: Syncfusion.Core.WinForms.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
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
public Color ArrowButtonBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonDisabledBackColor
Gets or sets the value for ArrowButtonDisabledBackColor.
Declaration
public Color ArrowButtonDisabledBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonDisabledBorderColor
Gets or sets the disabled border color for the arrow button.
Declaration
public Color ArrowButtonDisabledBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonDisabledForeColor
Gets or sets the value for ArrowButtonDisabledForeColor.
Declaration
public Color ArrowButtonDisabledForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonForeColor
Gets or sets the foreground color for the arrow button.
Declaration
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
public Color ArrowButtonHoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonHoverBorderColor
Gets or sets the hover border color for the arrow button.
Declaration
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
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
public Color ArrowButtonPressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ArrowButtonPressedBorderColor
Gets or sets the pressed border color for the arrow button.
Declaration
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
public Color ArrowButtonPressedForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Default
Gets the default style for the ScrollBarStyleInfo object.
Declaration
public static ScrollBarStyleInfo Default { 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 |
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 |
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 |
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 |
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 |
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 |
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 |
HasThumbWidth
Gets a value indicating whether the ThumbWidth property has been modified for the current object.
Declaration
public bool HasThumbWidth { get; }
Property Value
Type |
---|
System.Boolean |
ScrollBarBackColor
Gets or sets the background color for the scrollbar.
Declaration
public Color ScrollBarBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbBorderColor
Gets or sets a value for ThumbBorderColor.
Declaration
public Color ThumbBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbColor
Gets or sets the background color for the thumb.
Declaration
public Color ThumbColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbDisabledBorderColor
Gets or sets a value for disabled border color of the thumb.
Declaration
public Color ThumbDisabledBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbDisabledColor
Gets or sets a value for ThumbDisabledColor.
Declaration
public Color ThumbDisabledColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbHoverBorderColor
Gets or sets a value for hover border color of the thumb.
Declaration
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
public Color ThumbHoverColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbPressedBorderColor
Gets or sets a value for pressed border color of the thumb.
Declaration
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
public Color ThumbPressedColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ThumbWidth
Gets or sets the width of the thumb.
Declaration
public int ThumbWidth { get; set; }
Property Value
Type |
---|
System.Int32 |
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. |