Skip to main content
FileOpenPicker.SuggestedStartLocation | suggestedStartLocation property

Applies to Windows and Windows Phone

Gets or sets the initial location where the file open picker looks for files to present to the user.

Syntax


var suggestedStartLocation = fileOpenPicker.suggestedStartLocation;
fileOpenPicker.suggestedStartLocation = suggestedStartLocation;

public PickerLocationId SuggestedStartLocation { get; set; }

Public Property SuggestedStartLocation As PickerLocationId

public:
property PickerLocationId SuggestedStartLocation { 
   PickerLocationId get();
   void set (PickerLocationId value);
}

Property value

Type: PickerLocationId

The identifier of the starting location.

Remarks

The SuggestedStartLocation is not always used as the start location for the file picker. To give the user a sense of consistency, the file picker remembers the last location that the user navigated to and will generally start at that location.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.Pickers
Windows::Storage::Pickers [C++]

Metadata

Windows.winmd

See also

FileOpenPicker