ScrollBar.OnPreviewMouseRightButtonUp(MouseButtonEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.