WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScrollBarStyleInfo - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScrollBarStyleInfo

    Implements the functionalities that provides a StyleInfoBase object for ScrollBarStyleInfo properties in a ScrollBar.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    ScrollBarStyleInfo
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    StyleInfoSubObjectBase.Dispose(Boolean)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.SubObjectIdentity
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Owner
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.ClearCache()
    StyleInfoBase.Dispose()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.BeginInit()
    StyleInfoBase.EndInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.InheritStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.Store
    StyleInfoBase.CacheValues
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.Updating
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsChanged
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    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 Description
    System.Drawing.Color

    ArrowButtonDisabledBackColor

    Gets or sets the value for ArrowButtonDisabledBackColor.

    Declaration
    public Color ArrowButtonDisabledBackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    ArrowButtonDisabledBorderColor

    Gets or sets the disabled border color for the arrow button.

    Declaration
    public Color ArrowButtonDisabledBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    ArrowButtonDisabledForeColor

    Gets or sets the value for ArrowButtonDisabledForeColor.

    Declaration
    public Color ArrowButtonDisabledForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    ArrowButtonForeColor

    Gets or sets the foreground color for the arrow button.

    Declaration
    public Color ArrowButtonForeColor { get; set; }
    Property Value
    Type Description
    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 Description
    System.Drawing.Color

    ArrowButtonHoverBorderColor

    Gets or sets the hover border color for the arrow button.

    Declaration
    public Color ArrowButtonHoverBorderColor { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    System.Drawing.Color

    ArrowButtonPressedBorderColor

    Gets or sets the pressed border color for the arrow button.

    Declaration
    public Color ArrowButtonPressedBorderColor { get; set; }
    Property Value
    Type Description
    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 Description
    System.Drawing.Color

    Default

    Gets the default style for the ScrollBarStyleInfo object.

    Declaration
    public static ScrollBarStyleInfo Default { get; }
    Property Value
    Type Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    System.Boolean

    ScrollBarBackColor

    Gets or sets the background color for the scrollbar.

    Declaration
    public Color ScrollBarBackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    ThumbBorderColor

    Gets or sets a value for ThumbBorderColor.

    Declaration
    public Color ThumbBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    ThumbColor

    Gets or sets the background color for the thumb.

    Declaration
    public Color ThumbColor { get; set; }
    Property Value
    Type Description
    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 Description
    System.Drawing.Color

    ThumbDisabledColor

    Gets or sets a value for ThumbDisabledColor.

    Declaration
    public Color ThumbDisabledColor { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    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 Description
    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 Description
    System.Drawing.Color

    ThumbWidth

    Gets or sets the width of the thumb.

    Declaration
    public int ThumbWidth { get; set; }
    Property Value
    Type Description
    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
    StyleInfoBase.GetDefaultStyle()

    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.

    Overrides
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved