Share via


RibbonGalleryItem.OnMouseMove Method

Provides class handling for the MouseMove event.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Protected Overrides Sub OnMouseMove ( _
    e As MouseEventArgs _
)
protected override void OnMouseMove(
    MouseEventArgs e
)
protected:
virtual void OnMouseMove(
    MouseEventArgs^ e
) override
abstract OnMouseMove : 
        e:MouseEventArgs -> unit 
override OnMouseMove : 
        e:MouseEventArgs -> unit 
protected override function OnMouseMove(
    e : MouseEventArgs
)

Parameters

Remarks

This method manages the focus and highlighting of the gallery item when the mouse moves over it.

This implementation marks the MouseMove event as handled by setting the Handled property of the event data to true.

.NET Framework Security

See Also

Reference

RibbonGalleryItem Class

Microsoft.Windows.Controls.Ribbon Namespace