ContentDialog.PrimaryButtonText 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 le texte à afficher sur le bouton principal.
public:
property Platform::String ^ PrimaryButtonText { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring PrimaryButtonText();
void PrimaryButtonText(winrt::hstring value);
public string PrimaryButtonText { get; set; }
var string = contentDialog.primaryButtonText;
contentDialog.primaryButtonText = string;
Public Property PrimaryButtonText As String
<ContentDialog PrimaryButtonText="string"/>
Valeur de propriété
Texte à afficher sur le bouton principal. Pour masquer ce bouton, définissez le texte sur null ou string.empty. Vide par défaut.
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