TaskDialogPage.Caption Property

Definition

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

public:
 property System::String ^ Caption { System::String ^ get(); void set(System::String ^ value); };
public string? Caption { get; set; }
member this.Caption : string with get, set
Public Property Caption As String

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