New to Telerik UI for WinForms? Start a free 30-day trial

Specifies which mouse gestures can change a toggle switch's value. The default is ClickAndDrag; None disables mouse interaction.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public enum ToggleStateMode

Fields

Toggles when released within DragSize horizontally from the press; vertical movement does not affect this check.

C#
Click = 1

Allows either a click or a drag to change the value.

C#
ClickAndDrag = 3

Allows thumb movement after the pointer crosses DragSize on either axis; release within that horizontal range leaves the value unchanged.

C#
Drag = 2

Disables mouse interaction; this is also the effective mode when the element is read-only.

C#
None = 0
In this article
DefinitionFieldsClickClickAndDragDragNone
Not finding the help you need?
Contact Support