New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

This class represents a single RadButton ToggleState when the RadButton control is used as custom toggle button.

Definition

Constructors

Creates a RadSwitch ToggleState.

C#
public SwitchToggleState()

Creates a RadSwitch ToggleState.

C#
public SwitchToggleState(string text, string value)
Parameters:textstring

The Text of the ToggleState.

valuestring

The Value of the ToggleState.

Creates a RadSwitch ToggleState.

C#
public SwitchToggleState(string text)
Parameters:textstring

The Text of the ToggleState.

Properties

Gets or sets the text displayed in the Toggle state label.

C#
public string Text { get; set; }

Gets or sets optional Value.

C#
public string Value { get; set; }