Language

InkCanvasGestureEventArgs.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 します。

注釈

Gesture イベントが発生した場合、Cancel プロパティの値は、GestureRecognitionResult メソッドによって返されるコレクション内の最初のGetGestureRecognitionResultsによって異なります。 ApplicationGesture プロパティの値がNoGestureの場合、またはRecognitionConfidenceがStrong以外の値であるジェスチャである場合、Cancelはtrue。 それ以外の場合、Cancel は false です。 Cancelがfalseされると、InkCanvasはそのStrokesにStrokeCollectionを追加します。 Cancelがtrueされると、ストロークはInkCanvasに追加されません。

適用対象