Επεξεργασία

Κοινή χρήση μέσω


ScrollBar.OnPreviewMouseRightButtonUp(MouseButtonEventArgs) Method

Definition

Provides class handling for the PreviewMouseRightButtonUp event.

protected:
 override void OnPreviewMouseRightButtonUp(System::Windows::Input::MouseButtonEventArgs ^ e);
protected override void OnPreviewMouseRightButtonUp (System.Windows.Input.MouseButtonEventArgs e);
override this.OnPreviewMouseRightButtonUp : System.Windows.Input.MouseButtonEventArgs -> unit
Protected Overrides Sub OnPreviewMouseRightButtonUp (e As MouseButtonEventArgs)

Parameters

e
MouseButtonEventArgs

The event data.

Examples

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.

Remarks

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

Applies to