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.1
Syntax public event EventHandler<FolderChangingEventArgs> NavigationPending
Public Event NavigationPending As EventHandler(Of FolderChangingEventArgs)
public:
event EventHandler<FolderChangingEventArgs^>^ NavigationPending {
void add (EventHandler<FolderChangingEventArgs^>^ value);
void remove (EventHandler<FolderChangingEventArgs^>^ value);
}
member NavigationPending : IEvent<EventHandler<FolderChangingEventArgs>,
FolderChangingEventArgs>
Value
Type:
SystemEventHandlerFolderChangingEventArgsExamples
The following example shows how to cancel a navigation.
private void ExplorerBrowser_NavigationPending(object sender, FolderChangingEventArgs e)
{
e.Cancel = e.FolderIdList.Equals(ItemIdList.GetForSpecialFolder(ShellFolder.Documents));
}
See Also