i’m getting the documentlibrary folders. but i don’t know how to display the geeting folders in a MainPage.Xaml (design page).
here is my code:
var folders = await KnownFolders.DocumentsLibrary.GetFoldersAsync();
if anyone guide me. Thanks in advance.
Let’s assume you’ve a ListView to show all the folders. And on click of a button, you want to show list of folders in DocumentsLibrary. For this, use following XAML:
Now, in code behind write following code:
This will show you all the folders within the DocumentsLibrary in ListView.
Hope, it helps.