FileDialog.Title Property

Definition

Gets or sets the text that appears in the title bar of a file dialog.

public:
 property System::String ^ Title { System::String ^ get(); void set(System::String ^ value); };
[set: System.Security.SecurityCritical]
public string Title { get; set; }
member this.Title : string with get, set
Public Property Title As String

Property Value

A String that is the text that appears in the title bar of a file dialog. The default is Empty.

Attributes

Remarks

If Title is null or Empty, a default, localized value is used, such as "Save As" or "Open".

Security

FileIOPermission
to set the dialog title. Associated enumeration: Unrestricted

Applies to