How to get notifications when a thumb drag is started and completed?
The DragStarted event is raised when a thumb is dragged. After the thumb releases the pointer capture, the DragCompleted event is raised. The Index property of the DragThumbEventArgs returns a int value, which indicates the thumb used for performing drag operations.
| Members | Description |
|---|---|
| Index | Indicates the thumb used for performing drag operations. Value 0 for start thumb and 1 for end thumb. |
rangeSlider.DragStarted+=(object sender, DragThumbEventArgs e) =>
{
//perform the operation
};
rangeSlider.DragCompleted+=(object sender, DragThumbEventArgs e) =>
{
//perform the operation
};