UIElement.PreviewStylusUp イベント
定義
ユーザーがこの要素上でスタイラスをデジタイザーから離したときに発生します。Occurs when the user raises the stylus off the digitizer while the stylus is over this element.
public:
virtual event System::Windows::Input::StylusEventHandler ^ PreviewStylusUp;
public event System.Windows.Input.StylusEventHandler PreviewStylusUp;
member this.PreviewStylusUp : System.Windows.Input.StylusEventHandler
Public Custom Event PreviewStylusUp As StylusEventHandler
実装
注釈
このイベントは、このクラスの Stylus.PreviewStylusUp 添付イベントのエイリアスを作成し、UIElement が基本要素として継承されている場合に、PreviewStylusDown がクラスメンバーリストの一部になるようにします。This event creates an alias for the Stylus.PreviewStylusUp attached event for this class, so that PreviewStylusDown is part of the class members list when UIElement is inherited as a base element. PreviewStylusDown イベントにアタッチされるイベントハンドラーは、基になる Stylus.PreviewStylusUp アタッチされるイベントにアタッチされ、同じイベントデータインスタンスを受け取ります。Event handlers that are attached to the PreviewStylusDown event are attached to the underlying Stylus.PreviewStylusUp 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 | PreviewStylusUpEvent |
ルーティング方法Routing strategy | トンネリングTunneling |
DelegateDelegate | StylusEventHandler |
対応するバブルイベントは StylusUpです。The corresponding bubbling event is StylusUp.
派生クラスでこのイベントのクラス処理を実装するには、OnPreviewStylusUp をオーバーライドします。Override OnPreviewStylusUp to implement class handling for this event in derived classes.