ContentDialog.CloseButtonCommand Propriété
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.
Obtient ou définit la commande à appeler lorsque le bouton fermer est appuyé.
public:
property ICommand ^ CloseButtonCommand { ICommand ^ get(); void set(ICommand ^ value); };
ICommand CloseButtonCommand();
void CloseButtonCommand(ICommand value);
public ICommand CloseButtonCommand { get; set; }
var iCommand = contentDialog.closeButtonCommand;
contentDialog.closeButtonCommand = iCommand;
Public Property CloseButtonCommand As ICommand
<ContentDialog CloseButtonCommand="commandReference"/>
Valeur de propriété
Commande à appeler lorsque le bouton principal est appuyé.
Configuration requise pour Windows
Famille d’appareils |
Windows 10 Creators Update (introduit dans 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduit dans v4.0)
|
S’applique à
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