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: 7.2
Syntax
public event EventHandler<FolderChangingEventArgs> NavigationPending

Value

EventHandlerFolderChangingEventArgs
Example
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