ScrollBar.PageDownCommand 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 ^ PageDownCommand;
public static readonly System.Windows.Input.RoutedCommand PageDownCommand;
staticval mutable PageDownCommand : System.Windows.Input.RoutedCommand
Public Shared ReadOnly PageDownCommand As RoutedCommand
Valeur de champ
Exemples
L’exemple suivant montre comment spécifier la PageDownCommand dans un modèle de style ScrollBar personnalisé.
<Style x:Key="ScrollBar_DownTrack"
BasedOn="{StaticResource ScrollBar_TrackRepeater}"
TargetType="{x:Type RepeatButton}">
<Setter Property="Command" Value="ScrollBar.PageDownCommand" />
</Style>
Remarques
Cette commande augmente la Value du Track dans la ScrollBar par la valeur de la propriété LargeChange.
Cette commande se produit lorsque l’utilisateur appuie sur la touche PAGE DOWN.
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é <
objet="
ScrollBar.PageDownCommand"/>
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour