ScrollBar.LineUpCommand Champ
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 le LineUpCommand modèle de style personnalisé ScrollBar .
<RepeatButton Grid.Row="0"
Style="{DynamicResource Scrollbar_LineButton}"
Command="ScrollBar.LineUpCommand" Content=" ^" />
Remarques
Cette commande réduit l’élément ValueTrack dans la ScrollBar 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 élément dans le cadre d’un ScrollViewer contrôle, la ScrollViewer commande exécute cette commande.
Utilisation du texte XAML
<
propriété="object ScrollBar.LineUpCommand"/>