ContentDialog.PrimaryButtonText Property

Definition

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; }
Public Property PrimaryButtonText As String
<ContentDialog PrimaryButtonText="string"/>

Property Value

String

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