ScrollBar.LineUpCommand Champ

Définition

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

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

Valeur de champ

Exemples

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

<RepeatButton Grid.Row="0" 
              Style="{DynamicResource Scrollbar_LineButton}" 
              Command="ScrollBar.LineUpCommand" Content=" ^" />

Remarques

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

Cette commande se produit lorsque l’utilisateur appuie sur la touche FLÈCHE HAUT.

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

Utilisation du texte XAML

<propriété="objectScrollBar.LineUpCommand"/>

S’applique à

Voir aussi