Class
StateChangingEventArgs

Represents event data of the ToggleStateChanging event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class StateChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsStateChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

StateChangingEventArgs(ToggleState, ToggleState, bool)

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

Declaration

cs-api-definition
public StateChangingEventArgs(ToggleState oldValue, ToggleState newValue, bool canceled)

Parameters

oldValue

ToggleState

newValue

ToggleState

canceled

bool

Properties

NewValue

Gets or sets the new toggle state.

Declaration

cs-api-definition
public ToggleState NewValue { get; set; }

Property Value

ToggleState

OldValue

Gets or sets the old toggle state.

Declaration

cs-api-definition
public ToggleState OldValue { get; }

Property Value

ToggleState