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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.DockCommandTelerik.Web.UI.DockToggleCommand

Methods

Gets the CSS class that corresponds with the "Alternate" state of the ToggleCommand.

JS
get_alternateCssClass(): String
Returns:

String

The Alternate CSS class.

Gets the text corresponding to the "Alternate" state of the ToggleCommand.

JS
get_alternateText(): String
Returns:

String

The alternate text of the command.

Gets the state of the ToggleCommand. It can be Primary(1) or Alternate(2).

JS
get_state(): Number
Returns:

Number

The state of the ToggleCommand.

Sets a CSS class that corresponds to the "Alternate" state of the ToggleCommand.

JS
set_alternateCssClass(String value): void
Parameters:valueString

The Alternate CSS class.

Sets a text corresponding to the "Alternate" state of the ToggleCommand.

JS
set_alternateText(String value): void
Parameters:valueString

The text of the ToggleCommand corresponding to the

Sets a state to the ToggleCommand.

JS
set_state(Number value): void
Parameters:valueNumber

Set 1

Updates the state of the DockToggleCommand.

JS
updateState(): void
Not finding the help you need?
Contact Support