ScrollBar.LineRightCommand フィールド

定義

Trackの増加値の水平方向に少量ずつ ScrollBar をスクロールするコマンド。

C#
public static readonly System.Windows.Input.RoutedCommand LineRightCommand;

フィールド値

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

XAML
<RepeatButton Grid.Column="2" 
              Style="{DynamicResource Scrollbar_LineButton}" 									
              Command="ScrollBar.LineRightCommand" Content=" >" />

注釈

このコマンドを実行すると、ScrollBarTrackValue が、SmallChange プロパティの値によって増加します。

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

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

XAML テキストの使用法

ScrollBar.LineRightCommandプロパティオブジェクトを します

適用対象

製品 バージョン
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

こちらもご覧ください