Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinScrollBar Class / LargeChange Property


In This Topic
    LargeChange Property
    In This Topic
    Gets or sets the value to be added to or subtracted from the Value property when the scroll thumb is moved a large distance.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Value to be added to or subtracted from the Value property when the scroll thumb is moved a large distance.")>
    <CategoryAttribute("Behavior")>
    <RefreshPropertiesAttribute(RefreshProperties.Repaint)>
    Public Property LargeChange As Integer
    'Usage
     
    Dim instance As WinScrollBar
    Dim value As Integer
     
    instance.LargeChange = value
     
    value = instance.LargeChange
    [Description("Value to be added to or subtracted from the Value property when the scroll thumb is moved a large distance.")]
    [Category("Behavior")]
    [RefreshProperties(RefreshProperties.Repaint)]
    public int LargeChange {get; set;}

    Property Value

    A value representing the value to be added to or subtracted from the Value property when the scroll thumb is moved a large distance. By default, DefaultLargeChange.
    Remarks

    When the user presses the PAGE UP or PAGE DOWN key or clicks in the scroll bar track on either side of the scroll thumb, the Value property changes according to the value set in the LargeChange property.

    You might consider setting the LargeChange value to a percentage of the Height (for a vertically oriented scroll bar) or Width (for a horizontally oriented scroll bar) values. This keeps the distance your scroll bar moves in proportion to its size.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also