共用方式為


CancelEventArgs.Cancel Property

Definition

Gets or sets whether the event is cancelled.

public:
 property bool Cancel { bool get(); };
public bool Cancel { get; }
member this.Cancel : bool
Public ReadOnly Property Cancel As Boolean

Property Value

true if the event is cancelled, otherwise false.

Applies to