ContentElement.MouseMove ContentElement.MouseMove ContentElement.MouseMove ContentElement.MouseMove Event

定義

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

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

實作

備註

這個事件MouseMove會為這個類別建立Mouse.MouseMove附加事件的別名, 因此當繼承為基底專案時ContentElement , 就是類別成員清單的一部分。This event creates an alias for the Mouse.MouseMove attached event for this class, so that MouseMove is part of the class members list when ContentElement is inherited as a base element. 附加至MouseMove事件的事件處理常式會附加至基礎Mouse.MouseMove附加事件, 並接收相同的事件資料實例。Event handlers that are attached to the MouseMove event are attached to the underlying Mouse.MouseMove attached event and receive the same event data instance.

路由事件資訊Routed Event Information

識別碼欄位Identifier field MouseMoveEvent
路由策略Routing strategy 路由Bubbling
Delegate - 委派Delegate MouseEventHandler

適用於

另請參閱