New to Telerik UI for WinFormsStart a free 30-day trial

Represents event data of the ToggleStateChanging event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class StateChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsStateChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the StateChangingEventArgs class using the old toggle state, the new toggle state and

C#
public StateChangingEventArgs(ToggleState oldValue, ToggleState newValue, bool canceled)
Parameters:oldValueToggleStatenewValueToggleStatecanceledbool

Properties

Gets or sets the new toggle state.

C#
public ToggleState NewValue { get; set; }

Gets or sets the old toggle state.

C#
public ToggleState OldValue { get; }