public FileExplorerViewModel(StorageFolder root, string id = null) { NavigateToCommand = new IStorageItemClickedCommand(); GoBackCommand = new GoUpperFolderCommand(); BackStack.Add(root); Name = root.DisplayName; if (id != null) Id = id; }
public FileExplorerViewModel(StorageFolder root, string id = null) { NavigateToCommand = new IStorageItemClickedCommand(); GoBackCommand = new GoUpperFolderCommand(); BackStack.Add(root); Name = root.DisplayName; if (id != null) { Id = id; } }