TaskDialogExpander.Text Property

Definition

Gets or sets the text to be displayed in the dialog's expanded area.

C#
public string? Text { get; set; }

Property Value

The text to be displayed in the dialog's expanded area. The default value is null.

Exceptions

The property is set on an expander instance that is currently bound to a task dialog, but it's not visible as its initial Text property value was null or an empty string. - or - The property is set on an expander instance that is currently bound to a task dialog, but the dialog has just started navigating to a different page.

Remarks

This control will only be shown if this property is not null or an empty string.

This property can be set while the dialog is shown.

Applies to

Produkt Versioner
Windows Desktop 5, 6, 7, 8, 9, 10