Contents
- There are two methods to display the progress bar:
- The progress bar can be canceled by using two methods:
Having trouble getting help?
Contact Support
Contact Support
Progress Bar in WPF Breadcrumb (HierarchyNavigator)
18 Oct 20222 minutes to read
The progress bar for the HierarchyNavigator control can be displayed or removed.
There are two methods to display the progress bar:
-
Calling the ShowProgressBar method in HierarchyNavigator, which displays the progress bar for a time span of 500 ms.
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator(); hierarchyNavigator.ShowProgressBar();
-
Passing an argument in the method to show a specified time span. The image below shows a time span of 1000 ms that has been passed.
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator(); hierarchyNavigator.ShowProgressBar(new TimeSpan(0, 0, 0, 0, 1000));
The progress bar can be canceled by using two methods:
-
Calling the CancelProgressBar method in HierarchyNavigator.
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator(); hierarchyNavigator.CancelProgressBar();
-
Passing an argument in the method to cancel the progress bar within a particular span of time. This method helps users cancel the progress bar when preferred. The image displayed below shows a time span of 1000 ms that has been passed.
HierarchyNavigator hierarchyNavigator = new HierarchyNavigator(); hierarchyNavigator.CancelProgressBar(new TimeSpan(0, 0, 0, 0, 1000));