ScrollBar.PageUpCommand 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 ^ 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 dans PageUpCommand un 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 le Value de dans Track le ScrollBar par la 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 dans le cadre d’un ScrollViewer contrôle, exécute ScrollViewer cette commande.
Utilisation du texte XAML
<
propriété="
d’objetScrollBar.PageUpCommand"/>
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour