CurrentChangingEventArgs.Cancel 屬性

定義

取得或設定一個值,指示是否取消該事件。

public:
 property bool Cancel { bool get(); void set(bool value); };
public bool Cancel { get; set; }
member this.Cancel : bool with get, set
Public Property Cancel As Boolean

屬性值

true若活動將被取消;否則,。 false 預設值為 false

例外狀況

若 的 IsCancelable 值為 false

適用於