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

例外

适用于