Track.Value Property

Definition

Gets or sets the current value of the Track as determined by the position of the Thumb control.

public:
 property double Value { double get(); void set(double value); };
public double Value { get; set; }
member this.Value : double with get, set
Public Property Value As Double

Property Value

The current value of the Track. The default is 0.

Remarks

The Value represents a value that is between the Minimum and Maximum property values.

When a Track control is part of a RangeBase control and the Track.Value property is not explicitly set, this property automatically binds with the RangeBase.Value property.

Dependency Property Information

Identifier field ValueProperty
Metadata properties set to true BindsTwoWayByDefault, AffectsArrange, Journal

Applies to

See also