ScrollBar.LineLeftCommand 欄位

定義

命令,會沿著其 ScrollBar 值會減少的水平方向少量捲動 Track

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

欄位值

範例

下列範例示範如何在自訂 ScrollBar 樣式範本中指定 LineLeftCommand

<RepeatButton Grid.Column="0" 
              Style="{DynamicResource Scrollbar_LineButton}" 									
              Command="ScrollBar.LineLeftCommand" Content=" <" />

備註

此命令會 ValueTrack 以 屬性的值 SmallChange 來減少 中的 ScrollBar

當使用者按下左側 RepeatButton 時,就會發生此命令。

當您在 控制項中 ScrollViewerScrollBar 作 時,會 ScrollViewer 執行此命令。

XAML 文字使用方式

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

適用於

另請參閱