<grid grid.row="1">
<grid.rowdefinitions>
<rowdefinition height="Auto"></rowdefinition>
<rowdefinition height="Auto"></rowdefinition>
</grid.rowdefinitions>
<listview x:name="FolderList" horizontalalignment="Left" height="Auto" margin="125,30,0,0" verticalalignment="Top" width="250" removed="#FF636E5D" xmlns:x="#unknown">
<listview.itemtemplate>
<datatemplate>
<textblock text="{Binding DisplayName}"></textblock>
</datatemplate>
</listview.itemtemplate>
</listview>
</grid>
Now, in code behind write following code:
protected async override void LoadState(Object navigationParameter, Dictionary<string,> pageState)
{
var folders = await Windows.Storage.KnownFolders.DocumentsLibrary.GetFoldersAsync();
var data = folders.ToList<windows.storage.storagefolder>();
FolderList.ItemsSource = data;
}
This will show all the folders within the DocumentsLibrary in ListView.