private void ItemDoubleClick(GridItem item) { var folderGridItem = item as FolderGridItem; if (folderGridItem.IsFolder) { m_SearchBar.ClearSearchText(); m_TreeView.SetSelection(new int[] { item.Id }, true); UpdateGridViewContent(); UpdateBreadcrumbBarContents(); } else { WindowsOSUtility.OpenFileWithApp(folderGridItem.Path); } }
private void ItemRenameEndAction(GridItem item, string oldName, string newName) { if (m_IsCreatingItem) { m_IsCreatingItem = false; m_SearchBar.ClearSearchText(); } if (oldName != newName) { UpdateItemsBySearchText(); } }