ScrollBar.LineRightCommand Champ

Définition

Commande qui fait légèrement défiler une ScrollBar dans la direction horizontale des valeurs croissantes de son Track.

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

Valeur de champ

Exemples

L’exemple suivant montre comment spécifier dans LineRightCommand un modèle de style personnalisé ScrollBar .

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

Remarques

Cette commande augmente le Value de dans Track le ScrollBar par la valeur de la SmallChange propriété .

Cette commande se produit lorsque l’utilisateur appuie sur la droite RepeatButton.

Lorsque vous implémentez un ScrollBar dans le cadre d’un ScrollViewer contrôle, exécute ScrollViewer cette commande.

Utilisation du texte XAML

<propriété d’objet="ScrollBar.LineRightCommand"/>

S’applique à

Voir aussi