Partage via


ScrollBar.PageLeftCommand Champ

Définition

Commande qui fait défiler un ScrollBar d’une grande quantité dans la direction horizontale de la valeur décroissante de son Track.

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 la PageLeftCommand dans un modèle de style ScrollBar personnalisé.

<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 la Value du Track dans la ScrollBar par la valeur de la propriété LargeChange.

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.

Les différentes parties d’une barre de défilement

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.PageLeftCommand"/>

S’applique à

Voir aussi