FolderLauncherOptions
FolderLauncherOptions
FolderLauncherOptions
FolderLauncherOptions
Class
Definition
Specifies the options to use when launching File Explorer to display the contents of a specific folder by calling the LaunchFolderAsync(IStorageFolder, FolderLauncherOptions) method.
public : sealed class FolderLauncherOptions : IFolderLauncherOptions, ILauncherViewOptionspublic sealed class FolderLauncherOptions : IFolderLauncherOptions, ILauncherViewOptionsPublic NotInheritable Class FolderLauncherOptions Implements IFolderLauncherOptions, ILauncherViewOptions// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Constructors
FolderLauncherOptions() FolderLauncherOptions() FolderLauncherOptions() FolderLauncherOptions()
Initializes a new instance of the FolderLauncherOptions class.
public : FolderLauncherOptions()public FolderLauncherOptions()Public Sub New()// You can use this method in JavaScript.
Properties
DesiredRemainingView DesiredRemainingView DesiredRemainingView DesiredRemainingView
Specifies how much space on the screen to leave for the calling app when launching File Explorer. The calling app can take up more or less space than File Explorer, or File Explorer can fill the entire screen.
public : ViewSizePreference DesiredRemainingView { get; set; }public ViewSizePreference DesiredRemainingView { get; set; }Public ReadWrite Property DesiredRemainingView As ViewSizePreference// You can use this property in JavaScript.
One of the enumeration values that specifies how much space on the screen to leave for the calling app when launching File Explorer.
ItemsToSelect ItemsToSelect ItemsToSelect ItemsToSelect
Provides the list of items to select when File Explorer displays the contents of the specified folder.
public : IVector<IStorageItem> ItemsToSelect { get; }public IList<IStorageItem> ItemsToSelect { get; }Public ReadOnly Property ItemsToSelect As IList<IStorageItem>// You can use this property in JavaScript.
- Value
- IVector<IStorageItem> IList<IStorageItem> IList<IStorageItem> IList<IStorageItem>
The list of items to select when File Explorer displays the contents of the specified folder.
Remarks
You can add and remove items in this collection. The ItemsToSelect property is read-only, however, because you can't delete the collection that it returns or provide another instance of a collection.