ScrollBar::OnPreviewMouseRightButtonUp Method (MouseButtonEventArgs^)

 

Provides class handling for the PreviewMouseRightButtonUp event.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected:
virtual void OnPreviewMouseRightButtonUp(
	MouseButtonEventArgs^ e
) override

Parameters

e
Type: System.Windows.Input::MouseButtonEventArgs^

The event data.

This implementation saves the position of the mouse click so that the ScrollBar can scroll to that position in response to a ScrollHereCommand.

A ScrollHereCommand occurs when the user selects Scroll Here from the menu that appears when the user presses the right mouse button over the ScrollBar.

.NET Framework
Available since 3.0
Return to top
Show: