ScrollBar.ScrollHereCommand Field
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.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈