Partage via


ScrollBar.LineLeftCommand Champ

Définition

Commande qui fait défiler un ScrollBar d’une petite quantité dans la direction horizontale de la valeur décroissante de son 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 

Valeur de champ

Exemples

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

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

Remarques

Cette commande réduit la Value du Track dans la ScrollBar par la valeur de la propriété SmallChange.

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

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

Utilisation du texte XAML

propriété <="ScrollBar.LineLeftCommand"/>

S’applique à

Voir aussi