Compartir a través de


RangeBase.SmallChange Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a Value to be added to or subtracted from the Value of a RangeBase control.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Property SmallChange As Double
public double SmallChange { get; set; }
<rangeBase SmallChange="double"/>

Property Value

Type: System.Double
Value to add to or subtract from the Value of the RangeBase element. The default is 0.1.

Exceptions

Exception Condition
ArgumentException

The new value is NaN, less than zero, or IsInfinity is true.

Remarks

Dependency property identifier field: SmallChangeProperty

A control that inherits from RangeBase determines how this property is used.

For example, when the user clicks the track of a custom scrollbar control, the Value property would increase or decrease by the value of SmallChange.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.