RangeBase.Value Property

 

Gets or sets the current magnitude of the range control.

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

[BindableAttribute(true)]
public double Value { get; set; }

Property Value

Type: System.Double

The current magnitude of the range control. The default is 0.

The RangeBase control visually indicates the Value property in some way. For example, the slider and scrollbar controls have a thumb that is synchronized with the Value of the control.

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.

Identifier field

ValueProperty

Metadata properties set to true

BindsTwoWayByDefault, Journal

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: