Xceed Grid for WinForms v4.3 Documentation
SmallChange Property


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinScrollBar Class : SmallChange Property
Gets or sets the value to be added to or subtracted from the Value property when the scroll thumb is moved a small distance.
Syntax
'Declaration
 
<DescriptionAttribute("Value to be added to or subtracted from the Value property when the scroll thumb is moved a small distance.")>
<CategoryAttribute("Behavior")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Property SmallChange As Integer
'Usage
 
Dim instance As WinScrollBar
Dim value As Integer
 
instance.SmallChange = value
 
value = instance.SmallChange
[Description("Value to be added to or subtracted from the Value property when the scroll thumb is moved a small distance.")]
[Category("Behavior")]
[RefreshProperties(RefreshProperties.Repaint)]
public int SmallChange {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 small distance. By default, DefaultSmallChange.
Remarks

When the user presses one of the arrow keys or clicks one of the scroll bar buttons, the Value property changes according to the value set in the SmallChange property.

You might consider setting the SmallChange 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

Reference

WinScrollBar Class
WinScrollBar Members