-api-id | -api-type |
---|---|
P:Windows.System.LauncherOptions.DisplayApplicationPicker |
winrt property |
Gets or sets a value that indicates whether to display the Open With dialog whenever the association launching API is called.
True if the Open With dialog should always be displayed; otherwise false.
You should use the Open With dialog box when the user may want to select an app other than the default for a particular file. For example if your app allows the user to launch an image file, the default handler will likely be a viewer app. In some cases the user may want to edit the image instead of viewing it. Use the Open With option along with an alternative command in the AppBar or in a context menu to let the user bring up the Open With dialog and select the editor app in these types of scenarios.
Important
This property is only implemented on Desktop devices.
See the code example in the LaunchUriAsync(Uri, LauncherOptions) topic.
Association launching sample, Launch the default app for a file, Launch the default app for a URI, Guidelines for file types and URIs, Launcher.LaunchFileAsync(IStorageFile, LauncherOptions), Launcher.LaunchUriAsync(Uri, LauncherOptions)