TaskDialogPage.Caption Property

Definition

Gets or sets the text to display in the title bar of the task dialog.

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

Property Value

Exceptions

The property is set and the task dialog has started navigating to this page instance, but the Created event has not been raised yet. - or - The property is set on a page instance that is currently bound to a task dialog, but the dialog has just started navigating to a different page.

Remarks

This property can be set while the dialog is shown.

Applies to

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