Class StateEventArgs<T>
public class StateEventArgs<T> : CancelEventArgs
Type Parameters
T
- Inheritance
-
StateEventArgs<T>
- Inherited Members
Remarks
Events that use this class can be cancellable. The Cancel property should be set to true to prevent the state change from occurring.
Constructors
- StateEventArgs(T, T)
Creates a new instance of the StateEventArgs<T> class.
Properties
- NewValue
The new state
- OldValue
The previous state