ScrollBar.PageLeftCommand 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 ^ PageLeftCommand;
public static readonly System.Windows.Input.RoutedCommand PageLeftCommand;
staticval mutable PageLeftCommand : System.Windows.Input.RoutedCommand
Public Shared ReadOnly PageLeftCommand As RoutedCommand
Valeur de champ
Exemples
L’exemple suivant montre comment spécifier le PageLeftCommand modèle de style personnalisé ScrollBar .
<Style x:Key="ScrollBar_LeftTrack"
BasedOn="{StaticResource ScrollBar_TrackRepeater}"
TargetType="{x:Type RepeatButton}">
<Setter Property="Command" Value="ScrollBar.PageLeftCommand" />
</Style>
Remarques
Cette commande réduit l’in ValueTrack par ScrollBar la valeur de la LargeChange propriété.
Cette commande se produit lorsque l’utilisateur appuie sur le bouton de page situé à gauche du Thumb. L’illustration suivante montre les boutons de page d’un ScrollBar.
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é="objectScrollBar.PageLeftCommand"/>