History Support
The history feature allows you to keep track of the items that were selected in the breadcrumb. Each time an item gets unselected it gets on top of the history stack.
The history tracking is enabled by default. To disable it, set the IsHistoryEnabled
property of RadBreadcrumb
to false
.
Disabling the history feature
<telerik:RadBreadcrumb IsHistoryEnabled="False"/>
IsHistoryOpen
property of RadBreadcrumb
. The property can be used also to get the current state of the drop down.
To access the history items, use the HistoryItems
collection property of RadBreadcrumb
. The collection contains RadBreadcrumbBarItem
objects.
Getting history items
var historyItem = this.breadcrumb.HistoryItems[0] as RadBreadcrumbBarItem;
HistorySize
property of RadBreadcrumb
.
Changing the history size
<telerik:RadBreadcrumb HistorySize="20"/>