Class CommandBarToggleButton
Represents a toggle button in CommandBarStripElement.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class CommandBarToggleButton : RadCommandBarBaseItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
CommandBarToggleButton()
Declaration
public CommandBarToggleButton()
Fields
ToggleStateProperty
Properties
CheckState
Gets or sets the System.Windows.Forms.CheckState. CheckState enumeration defines the following values: Unchecked, Checked, and Indeterminate.
Declaration
public CheckState CheckState { get; set; }
Property Value
System.Windows.Forms.CheckState
|
IsThreeState
Gets or sets a value indicating whether the toggle button has three or two states.
Declaration
public bool IsThreeState { get; set; }
Property Value
System.Boolean
|
ToggleState
Gets or sets the ToggleState. Toggle state enumeration defines the following values: Off, Indeterminate, and On.
Declaration
[RadPropertyDefaultValue("ToggleState", typeof(RadToggleButtonElement))]
public ToggleState ToggleState { get; set; }
Property Value
ToggleState
|
Methods
OnCheckStateChanged(EventArgs)
Raises the StateChanged event.
Declaration
protected virtual void OnCheckStateChanged(EventArgs e)
Parameters
System.EventArgs
e
|
OnClick(EventArgs)
Declaration
protected override void OnClick(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnIsCheckedChanged(EventArgs)
Raises the IsCheckedChanged event.
Declaration
protected virtual void OnIsCheckedChanged(EventArgs e)
Parameters
System.EventArgs
e
|
OnOrientationChanged(EventArgs)
Declaration
protected override void OnOrientationChanged(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnToggle()
Declaration
protected virtual void OnToggle()
OnToggleStateChanged(StateChangedEventArgs)
Raises the StateChanged event.
Declaration
protected virtual void OnToggleStateChanged(StateChangedEventArgs e)
Parameters
StateChangedEventArgs
e
|
OnToggleStateChanging(StateChangingEventArgs)
Raises the StateChanging event.
Declaration
protected virtual void OnToggleStateChanging(StateChangingEventArgs e)
Parameters
StateChangingEventArgs
e
|
Events
CheckStateChanged
Occurs when the elements's check state changes.
Declaration
public event EventHandler CheckStateChanged
Event Type
System.EventHandler
|
IsCheckedChanged
Occurs when the IsChecked property is changed.
Declaration
public event EventHandler IsCheckedChanged
Event Type
System.EventHandler
|
ToggleStateChanged
Occurs when the toggle state is changed.
Declaration
public event StateChangedEventHandler ToggleStateChanged
Event Type
StateChangedEventHandler
|
ToggleStateChanging
Occurs before the toggle state is changed.
Declaration
public event StateChangingEventHandler ToggleStateChanging
Event Type
StateChangingEventHandler
|