Delen via


ContentDialog.SecondaryButtonText Property

Definition

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

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

Platform::String

winrt::hstring

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

Applies to