Class CheckStateChangedEventArgs

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll
API Level:
preview

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
CheckStateChangedEventArgs

Constructors

View Source

CheckStateChangedEventArgs(Boolean, Boolean)

Creates and initializes a new instance of the CheckStateChangedEventArgs class.

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

Old state of check to use this CheckStateChangedEventArgs.

Boolean newState

New state of check to use this CheckStateChangedEventArgs.

API Level: preview

Properties

View Source

NewState

Gets the NewState property. The return type is bool.

Declaration
C#
Copy
public bool NewState { get; }
Property Value
Type Description
Boolean
API Level: preview
View Source

OldState

Gets the OldState property. The return type is bool.

Declaration
C#
Copy
public bool OldState { get; }
Property Value
Type Description
Boolean
API Level: preview