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

Telerik.Web.UI.DockToggleCommand : Telerik.Web.UI.DockCommand

Inheritance Hierarchy

Methods

get_alternateCssClass

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

Parameters

Returns

String The Alternate CSS class.

get_alternateText

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

Parameters

Returns

String The alternate text of the command.

get_state

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

Parameters

Returns

Number The state of the ToggleCommand.

set_alternateCssClass

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

Parameters

value String

The Alternate CSS class.

Returns

None

set_alternateText

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

Parameters

value String

The text of the ToggleCommand corresponding to the

Returns

None

set_state

Sets a state to the ToggleCommand.

Parameters

value Number

Set 1

Returns

None

updateState

Updates the state of the DockToggleCommand.

Parameters

Returns

None

In this article