Provides data for the ToggleStateChanged event.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class ToggleButtonStateChangedEventArgs : CommandEventArgs
Inheritance: objectEventArgsCommandEventArgsToggleButtonStateChangedEventArgs
Inherited Members
Constructors
Initializes a new instance of the ButtonToggleStateChangedEventArgs class with the specified arguments.
public ToggleButtonStateChangedEventArgs(string commandName, object commandArgument, int selectedToggleStateIndex, ButtonToggleState selectedToggleState)
The name of the command.
commandArgumentobjectThe object containing the arguments for the command.
selectedToggleStateIndexintThe current ToggleState index of the RadButton control.
selectedToggleStateButtonToggleStateThe currently selected ToggleState of the RadButton control.
Initializes a new instance of the ButtonToggleStateChangedEventArgs class with another ButtonToggleStateChangedEventArgs object.
public ToggleButtonStateChangedEventArgs(ToggleButtonStateChangedEventArgs e)
A ButtonToggleStateChangedEventArgs that contains the event data.
Properties
Gets or sets the currently selected RadButtonToggleState of the RadButton control firing the event.
public ButtonToggleState SelectedToggleState { get; set; }
Gets or sets the currently selected index of the RadButton control firing the event.
public int SelectedToggleStateIndex { get; set; }