ContentDialog.SecondaryButtonText Property

Definition

Gets or sets the text to be displayed on the secondary button.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.ContentDialog.SecondaryButtonText.

public:
 property Platform::String ^ SecondaryButtonText { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring SecondaryButtonText();

void SecondaryButtonText(winrt::hstring value);
public string SecondaryButtonText { get; set; }
var string = contentDialog.secondaryButtonText;
contentDialog.secondaryButtonText = string;
Public Property SecondaryButtonText As String
<ContentDialog SecondaryButtonText="string"/>

Property Value

String

The text to be displayed on the secondary button. To hide this button, set the value to null or string.empty.

Applies to