Back to Devexpress

ToggleSwitch.Toggle() Method

windowsforms-devexpress-dot-xtraeditors-dot-toggleswitch-e35c1498.md

latest1.1 KB
Original Source

ToggleSwitch.Toggle() Method

Inverts the state of the ToggleSwitch control.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public override void Toggle()
vb
Public Overrides Sub Toggle

Remarks

To explicitly set the control’s state, use the ToggleSwitch.IsOn property.

See Also

IsOn

ToggleSwitch Class

ToggleSwitch Members

DevExpress.XtraEditors Namespace