Redigera

Dela via


ScrollBar.ScrollToTopCommand Field

Definition

The command that scrolls a ScrollBar to the Maximum value for a vertical ScrollBar.

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

Field Value

Remarks

For a vertical ScrollBar, this movement occurs when the user presses the CTRL+HOME keys.

When you implement a ScrollBar as part of a ScrollViewer control, the ScrollViewer executes this command.

XAML Text Usage

< object property="ScrollBar.ScrollToTopCommand"/>

Applies to