ButtonToggleState
This class represents a single RadButton ToggleState when the RadButton control is used as custom toggle button.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class ButtonToggleState : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerButtonToggleState
Implements:
Inherited Members
Constructors
Creates a RadButton ToggleState.
public ButtonToggleState()
Creates a RadButton ToggleState.
Properties
Gets or sets an optional parameter passed to the Command event along with the associated CommandName.
[Bindable(true)]
[Themeable(false)]
[ClientControlProperty]
[ClientPropertyName("commandArgument")]
public string CommandArgument { get; set; }
Gets or sets the command name associated with the Button control that is passed to the Command event.
[Themeable(false)]
[ClientControlProperty]
[ClientPropertyName("commandName")]
public string CommandName { get; set; }
Gets or sets the CSS class applied to the RadButton control.
public string CssClass { get; set; }
Gets or sets the CSS class applied to the RadButton control when the mouse pointer is over the control.
public string HoveredCssClass { get; set; }
Gets the object that controls the Primary and Secondary Icon related properties.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ButtonIcon Icon { get; }
Gets the object that controls the Primary and Secondary Icon related properties.
[PersistenceMode(PersistenceMode.InnerProperty)]
public ButtonImage Image { get; }
Gets or sets the CSS class applied to the RadButton control when the control is pressed.
public string PressedCssClass { get; set; }
Gets or sets a bool value indicating whether the ToggleState is selected or not.
[Themeable(false)]
public bool Selected { get; set; }
Gets or sets the text displayed in the RadButton control.
public string Text { get; set; }