ShellListViewNavigationFailed Event |
Namespace: Jam.Shell
/* The following example sets a default fallback folder, when a folder cannot be navigated. * Note, that like in the example you might need to let the shellList finish processing * before setting a different folder. */ private ItemIdList m_FallBackFolder = new ItemIdList(ShellFolder.Drives); private void ShellListView1_NavigationFailed(object sender, PathEventArgs e) { shellListView1.BeginInvoke((Action)(() => shellListView1.FolderIdList = m_FallBackFolder)); }