แก้ไข

แชร์ผ่าน


ScrollBar.ScrollHereCommand Field

Definition

The command that scrolls a ScrollBar to the point of the mouse click that opened the ContextMenu in the ScrollBar.

public: static initonly System::Windows::Input::RoutedCommand ^ ScrollHereCommand;
public static readonly System.Windows.Input.RoutedCommand ScrollHereCommand;
 staticval mutable ScrollHereCommand : System.Windows.Input.RoutedCommand
Public Shared ReadOnly ScrollHereCommand As RoutedCommand 

Field Value

Remarks

This command occurs when the user selects Scroll Here from the ContextMenu options. The ContextMenu of the ScrollBar appears when the user pauses the mouse pointer over the ScrollBar and presses the right mouse button. This menu provides options for scrolling the ScrollBar.

This command is for a ScrollBar that is part of a ScrollViewer control, and is executed by the ScrollViewer.

XAML Text Usage

< object property=" ScrollBar.ScrollHereCommand"/>

Applies to