Dela via


Slider.IntermediateValue Property

Definition

Gets or sets the value of the Slider while the user is interacting with it, before the value is snapped to either the tick or step value. The value the Slider snaps to is specified by the SnapsTo property.

public:
 property double IntermediateValue { double get(); void set(double value); };
double IntermediateValue();

void IntermediateValue(double value);
public double IntermediateValue { get; set; }
var double = slider.intermediateValue;
slider.intermediateValue = double;
Public Property IntermediateValue As Double

Property Value

Double

double

A temporary value.

Remarks

Use this property to get the value of the Slider while the user is interacting with it, before the value is snapped to either the tick or step value (as specified by the SnapsTo property).

This property isn't typically set in XAML. It could be useful though as an element binding source for another XAML UI element that displays the IntermediateValue value.

Applies to

See also