ContentElement.MouseMove Event


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

 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 



這個事件會為這個類別建立 Mouse.MouseMove 附加事件的別名,因此,當 ContentElement 繼承為基底專案時,MouseMove 就是類別成員清單的一部分。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 MouseEventHandler

Applies to

See also