RangeBase.Value Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the current magnitude of the range control.
public:
property double Value { double get(); void set(double value); };
[System.ComponentModel.Bindable(true)]
public double Value { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Value : double with get, set
Public Property Value As Double
Property Value
The current magnitude of the range control. The default is 0.
- Attributes
Remarks
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.
Dependency Property Information
Identifier field | ValueProperty |
Metadata properties set to true |
BindsTwoWayByDefault, Journal |
Applies to
.NET