Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

RangeBase.Value Property

Gets or sets the current setting of the range control, which may be coerced.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)
public double Value { get; set; }
<rangeBase Value="double"/>

Property Value

Type: System.Double
The current setting of the range control, which may be coerced. The default is 0.
ExceptionCondition
ArgumentException

The new value is either NaN or IsInfinity is true.

Dependency property identifier field: ValueProperty

The RangeBase control typically indicates the Value property visually in some way. For example, the Slider control has a thumb that is synchronized with the Value of the control.

The Value property may be coerced. This means that if you set Value to a number that is less than the Minimum property, Value is set to Minimum. If you set Value to a number that is greater than the Maximum property, Value is set to Maximum.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

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

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.