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 

フィールド値

次の例は、カスタム LineLeftCommand スタイル テンプレートでScrollBarを指定する方法を示しています。

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

注釈

このコマンドは、Value内のTrackScrollBarを、SmallChange プロパティの値で減らします。

このコマンドは、ユーザーが左の RepeatButtonを押したときに発生します。

ScrollBar コントロールの一部としてScrollViewerを実装すると、ScrollViewerはこのコマンドを実行します。

XAML テキストの使用法

< objectプロパティ="ScrollBar.LineLeftCommand"/>

適用対象

こちらもご覧ください