Canceling the progress bar
There are two methods to cancel a progress bar:
-
Calling the CancelProgressBar method in HierarchyNavigator.
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator(); hierarchyNavigator.CancelProgressBar();
-
Passing an argument in the method to cancel the progress bar for a specified time span. The image below specifies a time span of 1000 ms.
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator(); hierarchyNavigator.OnCancelProgressBar(new TimeSpan(0, 0, 0, 0, 1000));