ScrollBar.ScrollToHorizontalOffsetCommand 欄位

定義

命令,將 ScrollBar 中的水平 ScrollViewer 捲動至 Parameter 中提供的值。

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

欄位值

RoutedCommand

備註

此命令只會與 控制項搭配 ScrollViewer 使用。

XAML 文字使用方式

<object 屬性 =" ScrollBar.ScrollToHorizontalOffsetCommand"/>

適用於