.NET Framework Class Library
RangeBase..::.SmallChange Property

Gets or sets a Value to be added to or subtracted from the Value of a RangeBase control. This is a dependency property.

Namespace:  System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Syntax

Visual Basic (Declaration)
<BindableAttribute(True)> _
Public Property SmallChange As Double
Visual Basic (Usage)
Dim instance As RangeBase
Dim value As Double

value = instance.SmallChange

instance.SmallChange = value
C#
[BindableAttribute(true)]
public double SmallChange { get; set; }
Visual C++
[BindableAttribute(true)]
public:
property double SmallChange {
    double get ();
    void set (double value);
}
JScript
public function get SmallChange () : double
public function set SmallChange (value : double)
XAML Attribute Usage
<object 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.
Dependency Property Information

Identifier field

SmallChangeProperty

Metadata properties set to true

None

Remarks

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

When the user clicks the Track of a ScrollBar, the Value property increases or decreases by the value of SmallChange.

When the user invokes the DecreaseSmall or IncreaseSmall command on a Slider, the ValueProperty of the slider changes by the value of SmallChange.

The ProgressBar does not use this property.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Page view tracker