Class CheckStateChangedEventArgs

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll

It inherits System.EventArgs. The CheckStateChangedEventArgs is an EventArgs to record the check's state. Include the old state and the new state.

C#
Copy
public class CheckStateChangedEventArgs : EventArgs
Inheritance
object
System.EventArgs
CheckStateChangedEventArgs

Constructors

View Source

CheckStateChangedEventArgs(bool, bool)

Creates and initializes a new instance of the CheckStateChangedEventArgs class.

Declaration
C#
Copy
public CheckStateChangedEventArgs(bool oldState, bool newState)
Parameters
Type Name Description
bool oldState

Old state of check to use this CheckStateChangedEventArgs.

bool newState

New state of check to use this CheckStateChangedEventArgs.

Properties

View Source

NewState

Gets the NewState property. The return type is bool.

Declaration
C#
Copy
public bool NewState { get; }
Property Value
Type Description
bool
View Source

OldState

Gets the OldState property. The return type is bool.

Declaration
C#
Copy
public bool OldState { get; }
Property Value
Type Description
bool