Table of Contents

Property DefaultCancelEventArgs

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

DefaultCancelEventArgs

Gets a default instance of CancelEventArgs with the Cancel property set to false.

public static CancelEventArgs DefaultCancelEventArgs { get; }

Property Value

CancelEventArgs

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.