ContentElement.PreviewMouseMove ContentElement.PreviewMouseMove ContentElement.PreviewMouseMove ContentElement.PreviewMouseMove Event

定義

滑鼠指標在此元素上方且移動滑鼠指標時發生。Occurs when the mouse pointer moves while the mouse pointer is over this element.

public:
 virtual event System::Windows::Input::MouseEventHandler ^ PreviewMouseMove;
public event System.Windows.Input.MouseEventHandler PreviewMouseMove;
member this.PreviewMouseMove : System.Windows.Input.MouseEventHandler 
Public Custom Event PreviewMouseMove As MouseEventHandler 

實作

備註

當發生這個事件都將滑鼠指標第一次進入項目的範圍中,也當滑鼠指標移動同時仍保有的項目範圍內。This event occurs both when the mouse pointer first enters into the element bounds, and also when the mouse pointer moves while still remaining within the element bounds.

此事件建立的別名Mouse.PreviewMouseMove附加事件,此類別中,以便PreviewMouseMove屬於類別的成員清單時ContentElement繼承為基底的項目。This event creates an alias for the Mouse.PreviewMouseMove attached event for this class, so that PreviewMouseMove is part of the class members list when ContentElement is inherited as a base element. 附加至事件處理常式PreviewMouseMove事件會附加至基礎Mouse.PreviewMouseMove附加事件,並接收相同的事件資料執行個體。Event handlers that are attached to the PreviewMouseMove event are attached to the underlying Mouse.PreviewMouseMove attached event and receive the same event data instance.

路由事件資訊Routed Event Information

識別項欄位Identifier field PreviewMouseMoveEvent
路由策略Routing strategy 通道Tunneling
Delegate - 委派Delegate MouseEventHandler

適用於