ContentDialog.PrimaryButtonText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the text to display on the primary button.
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"/>
Property Value
The text to display on the primary button. To hide this button, set the text to null or string.empty. The default is empty.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla