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

適用於