See here: How to launch .exe file in uwp app using fulltrustlauncher? – Stack Overflow
For a list of almost every MIME File Type, see here:
Common MIME types – HTTP | MDN (mozilla.org) and
All known MIME types (digipres.org)
The Key to success for BroadFileSystemAccess is to add it by hand to the XML Manifest and follow the information from MSDN (App capability declarations – UWP applications | Microsoft Docs):
The broadFileSystemAccess capability allows apps to get the same access to the file system as the user who is currently running the app without any additional file-picker style prompts during runtime. It is important to note that this capability is not required to access files that the user has already chosen using the FilePicker or FolderPicker.
This capability works for the Windows.Storage APIs. Because users can grant or deny the permission any time in Settings, you should ensure that your app is resilient to those changes. In the April 2018 update, the default for the permission is On. In the October 2018 update, the default is Off. It is also important that you do not declare any special folder capabilities such as Documents, Pictures, or Videos with this capability. You can enable this capability in your app by adding broadFileSystemAccess to your manifest. For an example, see the File access permissions article.
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap mp uap3 rescap"> ... <Applications> <Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="YOURAPP.App"> <Extensions> <uap:Extension Category="windows.fileTypeAssociation"> <uap:FileTypeAssociation Name="YourFileTypeAssociation"> <uap:DisplayName>YOURDISPLAYNAME</uap:DisplayName> <uap:SupportedFileTypes> <uap:FileType ContentType="image/jpeg">.jpeg</uap:FileType> <uap:FileType ContentType="image/png">.png</uap:FileType> <uap:FileType ContentType="application/pdf">.pdf</uap:FileType> <uap:FileType ContentType="image/tiff">.tif</uap:FileType> <uap:FileType ContentType="image/tiff">.tiff</uap:FileType> <uap:FileType ContentType="image/jpeg">.jpg</uap:FileType> <uap:FileType ContentType="text/plain">.txt</uap:FileType> <uap:FileType ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document">.docx</uap:FileType> <uap:FileType ContentType="application/msword">.doc</uap:FileType> <uap:FileType ContentType="text/csv">.csv</uap:FileType> <uap:FileType ContentType="image/gif">.gif</uap:FileType> </uap:SupportedFileTypes> </uap:FileTypeAssociation> </uap:Extension> </Extensions> </Application> </Applications> <Capabilities> <Capability Name="internetClientServer" /> <Capability Name="privateNetworkClientServer" /> <Capability Name="internetClient" /> <uap:Capability Name="enterpriseAuthentication" /> <rescap:Capability Name="broadFileSystemAccess"/> </Capabilities> </Package>
To Resize (eventually edit the Height or Width to a higher value) the ContentDialog(s) you need to add the following lines to your App.xaml file and edit the Max values as you wish.
<Application.Resources> <x:Double x:Key="ContentDialogMaxWidth">1000</x:Double> <x:Double x:Key="ContentDialogMaxHeight">1000</x:Double> </Application.Resources>
The Key to successfully make a ListView scrollable is to set a Value to the Height property of the ListView as shown below in the highlighted rows.
<StackPanel Grid.Column="0" Grid.Row="0" Margin="4,2,0,0"> <uwp:HeaderedTextBlock Text="Header Title" /> <ListView x:Name="lvwMyEntities" Height="300" ItemsSource="{x:Bind local:Collections.MyEntities}" SelectionMode="Single" MinHeight="150" Grid.Row="0" ScrollViewer.VerticalScrollBarVisibility="Visible"> <ListView.ItemTemplate> <DataTemplate x:DataType="local:MyEntity"> <Grid Width="150" Height="150"> <Border BorderBrush="DarkGray" BorderThickness="0.5" > <StackPanel Orientation="Vertical" VerticalAlignment="Center" AllowDrop="true" DragEnter="PnlMyEntity_DragEnter" DragLeave="PnlMyEntity_DragLeave" DragOver="PnlMyEntity_DragOver" Drop="PnlMyEntity_Drop" DropCompleted="PnlMyEntity_DropCompleted"> <TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" FontWeight="Bold" Text="{x:Bind DisplayName}" FontSize="14" TextWrapping="WrapWholeWords" Margin="2"/> <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Bottom" Background="White"> <Image HorizontalAlignment="Center" VerticalAlignment="Bottom" Source="{x:Bind Image}" Stretch="Uniform" /> </StackPanel> </StackPanel> </Border> </Grid> </DataTemplate> </ListView.ItemTemplate> <ListView.ItemsPanel> <ItemsPanelTemplate> <ItemsWrapGrid x:Name="lvwPnlApo" Orientation="Horizontal"/> </ItemsPanelTemplate> </ListView.ItemsPanel> </ListView> </StackPanel>