Dela via


FileOpenPickerUI.Title Property

Definition

Gets or sets a title to display in the file picker UI that identifies the location that the file picker is displaying to the user.

public:
 property Platform::String ^ Title { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Title();

void Title(winrt::hstring value);
public string Title { get; set; }
var string = fileOpenPickerUI.title;
fileOpenPickerUI.title = string;
Public Property Title As String

Property Value

String

Platform::String

winrt::hstring

The title to display in the file picker UI. This title should identify the location and type of files that the user can see on the app page (which is hosted by the file picker) of the app that is providing files.

Remarks

As a provider of files, you should consider updating the title if the user navigates to another location or if the AllowedFileTypes change.

Applies to

See also