Click or drag to resize

ExplorerBrowserNavigationPending Event

Occurs before navigating to a folder. The operation can be cancelled using Cancel

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 6.3.1
Syntax
public event EventHandler<FolderChangingEventArgs> NavigationPending

Value

Type: SystemEventHandlerFolderChangingEventArgs
Examples
The following example shows how to cancel a navigation.
C#
private void ExplorerBrowser_NavigationPending(object sender, FolderChangingEventArgs e)
{
    // Cancel navigation when trying to open documents folder
    e.Cancel = e.FolderIdList.Equals(ItemIdList.GetForSpecialFolder(ShellFolder.Documents));
}
See Also