Partager via


ScrollBar.PageUpCommand Champ

Définition

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

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

Valeur de champ

Exemples

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

<Style x:Key="ScrollBar_UpTrack" 
       BasedOn="{StaticResource ScrollBar_TrackRepeater}" 
       TargetType="{x:Type RepeatButton}">
  <Setter Property="Command" Value="ScrollBar.PageUpCommand" />
</Style>

Remarques

Cette commande réduit l’élément ValueTrack dans la ScrollBar valeur de la LargeChange propriété.

Cette commande se produit lorsque l’utilisateur appuie sur la touche PAGE UP.

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

S’applique à

Voir aussi