Thumb Class in WPF - drag thumb


Drag, drag icon, dragging, hand, hold, one, thumb icon drag thumb

Occurs one or more times as the mouse changes position when a Thumb control has logical For the complete sample, see Thumb Drag Functionality Sample.

The Thumb control provides drag functionality that can be used to move or resize controls by monitoring the DragStarted, DragDelta and.

You can use the Thumb control for simple dragging of objects on a Canvas. You set the Template of the Thumb control to contain the actual element to be dragged and then handle the thumb’s DragDelta event. Below is a Canvas containing three controls, each wrapped in a Thumb and.

Because of lack of code I assume you really mean "creating a WPF Thumb object inside of a MouseDown event handler". Does below suffice?