Handle Navigation Popup Events
Passing the argument “HierarchyNavigator item” in a method called ShowNavigationPopupItems can open the Navigation Popup for the corresponding item passed in the method.
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator();
hierarchyNavigator.ShowNavigationPopupItems(hierarchyitem);
NavigationPopupOpening
NavigationPopupOpening occurs when the navigation pop-up window is in the process of opening.
<syncfusion:HierarchyNavigator NavigationPopupOpening="NavigationPopupOpening"/>
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator();
<br>hierarchyNavigator.NavigationPopupOpening +=new EventHandler(NavigationPopupOpening);
private void NavigationPopupOpening(object sender, EventArgs e)<br>
{
<br>
//Occurs when Navigation Popup attempt to open
<br>
}
NavigationPopupOpened
NavigationPopupOpened occurs when the navigation pop-up window is open.
<syncfusion:HierarchyNavigator NavigationPopupOpened="NavigationPopupOpened"/>
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator();<br>hierarchyNavigator.NavigationPopupOpened += new EventHandler(NavigationPopupOpened);
private void NavigationPopupOpened(object sender, EventArgs e)<br>
{
<br>
//Occurs when Navigation Popup is opened
}
NavigationPopupClosing
NavigationPopupClosing occurs when the navigation pop-up window is closing.
<syncfusion:HierarchyNavigator NavigationPopupClosing="NavigationPopupClosing"/>
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator();
<br>hierarchyNavigator.NavigationPopupClosing +=new EventHandler(NavigationPopupClosing);
private void NavigationPopupClosing(object sender, EventArgs e)<br>
{<br>
//Occurs when Navigation Popup is Closing
}
NavigationPopupClosed
NavigationPopupClosed occurs when the navigation pop-up window is closed.
<syncfusion:HierarchyNavigator NavigationPopupClosing="NavigationPopupClosing"/>
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator();
<br>
hierarchyNavigator.NavigationPopupClosing +=new EventHandler(NavigationPopupClosing);
private void NavigationPopupClosing(object sender, EventArgs e)<br>
{<br>
//Occurs when Navigation Popup is Closing
}