The Thumb control is usually included in another control, such as a ScrollBar or Slider control, to let the user change the control's value. The Thumb can also be used to resize controls. For example, a Thumb control in the corner of a window can provide a location for the user to click with the mouse to start a resize operation.
Thumb provides DragStarted, DragCompleted and DragDelta events to manage drag operations associated with the mouse pointer. The Thumb control receives logical focus and mouse capture when the user presses the left mouse button while the mouse pointer is paused over the Thumb. When the Thumb control receives logical focus and mouse capture, the DragStarted event is raised. While the Thumb control has logical focus and mouse capture, the DragDelta event can be raised repeatedly. When the user releases the left mouse button, the Thumb control loses mouse capture and the DragCompleted event is raised.