Property DefaultCancelEventArgs
DefaultCancelEventArgs
Gets a default instance of CancelEventArgs with the Cancel property set to false.
public static CancelEventArgs DefaultCancelEventArgs { get; }
Property Value
Remarks
This property provides a shared instance of CancelEventArgs to reduce object allocations. The Cancel property is reset to false each time the instance is accessed.