語言

PreProcessInputEventArgs.Canceled 屬性

定義

判斷輸入事件的處理是否被取消。

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

屬性值

true如果處理被取消;否則,。 false

備註

取消預處理輸入會停止該輸入繼續處理。 聆聽 以 PreNotifyInput 判斷是否有其他處理器取消了預處理輸入。

適用於