Show / Hide Table of Contents

Class ValueChangedCancelableEventArgs<T>

Event arguments for an event fired when an object's properties are changed. The change can be cancelled.

Inheritance
object
EventArgs
ValueChangedEventArgs<T>
ValueChangedCancelableEventArgs<T>
Inherited Members
ValueChangedEventArgs<T>.OldValue
ValueChangedEventArgs<T>.NewValue
EventArgs.Empty
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole
Assembly: SadConsole.dll
Syntax
public class ValueChangedCancelableEventArgs<T> : ValueChangedEventArgs<T>
Type Parameters
Name Description
T

Constructors

ValueChangedCancelableEventArgs(T, T)

Creates a new instance of this object with the specified old and new value.

Declaration
public ValueChangedCancelableEventArgs(T oldValue, T newValue)
Parameters
Type Name Description
T oldValue

The old value.

T newValue

The new value.

Properties

IsCancelled

Setting this property to true indicates that the change should be cancelled.

Declaration
public bool IsCancelled { get; set; }
Property Value
Type Description
bool

Extension Methods

ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX