ContentElement.PreviewStylusMove イベント
定義
スタイラスが要素上にあるときにスタイラスが移動すると発生します。Occurs when the stylus moves while over the element. このイベントを発生させるためには、デジタイザーによって検出されている間にスタイラスが移動する必要があります。それ以外の場合には、代わりに PreviewStylusInAirMove が発生します。The stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead.
public:
virtual event System::Windows::Input::StylusEventHandler ^ PreviewStylusMove;
public event System.Windows.Input.StylusEventHandler PreviewStylusMove;
member this.PreviewStylusMove : System.Windows.Input.StylusEventHandler
Public Custom Event PreviewStylusMove As StylusEventHandler
実装
注釈
このイベントは、このクラスの Stylus.PreviewStylusMove 添付イベントのエイリアスを作成し、ContentElement が基本要素として継承されている場合に、PreviewStylusMove がクラスメンバーリストの一部になるようにします。This event creates an alias for the Stylus.PreviewStylusMove attached event for this class, so that PreviewStylusMove is part of the class members list when ContentElement is inherited as a base element. PreviewStylusMove イベントにアタッチされるイベントハンドラーは、基になる Stylus.PreviewStylusMove アタッチされるイベントにアタッチされ、同じイベントデータインスタンスを受け取ります。Event handlers that are attached to the PreviewStylusMove event are attached to the underlying Stylus.PreviewStylusMove attached event and receive the same event data instance.
タッチ、マウス、およびスタイラスの入力は、特定の関係にあります。Touch, mouse, and stylus input exist in a particular relationship. 詳細については、「入力の概要」を参照してください。For more information, see Input Overview.
ルーティングされたイベント情報Routed Event Information
識別子フィールドIdentifier field | PreviewStylusMoveEvent |
ルーティング方法Routing strategy | トンネリングTunneling |
DelegateDelegate | StylusEventHandler |
対応するバブルイベントは StylusMoveです。The corresponding bubbling event is StylusMove.
派生クラスでこのイベントのクラス処理を実装するには、OnPreviewStylusMove をオーバーライドします。Override OnPreviewStylusMove to implement class handling for this event in derived classes.