New to Telerik UI for WPFStart a free 30-day trial

Represents an item in a breadcrumb navigation control. The RadBreadcrumbBarItem class provides properties to manage the visual state and behavior of breadcrumb items, including handling popup displays, item selection, and icon visibility. This class supports features like theming, customizable item templates, and easy integration through data binding. It also maintains state when navigating through items and can respond to user interactions such as keyboard and mouse events.

Definition

Namespace:Telerik.Windows.Controls.Breadcrumb

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
[Themable]
public class RadBreadcrumbBarItem : HeaderedItemsControl

Inheritance: objectRadBreadcrumbBarItem

Constructors

Initializes a new instance of the RadBreadcrumbBarItem class.

C#
public RadBreadcrumbBarItem()

Initializes a new instance of the RadBreadcrumbBarItem class with some parameters.

C#
public RadBreadcrumbBarItem(RadBreadcrumbItemType type, RadBreadcrumb parentBreadcrumb)
Parameters:typeRadBreadcrumbItemTypeparentBreadcrumbRadBreadcrumb

Fields

DropDownHeaderProperty

DependencyProperty

Identifies the DropDownHeader dependency property.

C#
public static readonly DependencyProperty DropDownHeaderProperty

Identifies the DropDownHeaderTemplate dependency property.

C#
public static readonly DependencyProperty DropDownHeaderTemplateProperty

ImageProperty

DependencyProperty

Identifies the Image dependency property.

C#
public static readonly DependencyProperty ImageProperty

IsIconVisibleProperty

DependencyProperty

Identifies the IsIconVisible dependency property.

C#
public static readonly DependencyProperty IsIconVisibleProperty

IsLinearModeProperty

DependencyProperty

Identifies the IsLinearMode dependency property.

C#
public static readonly DependencyProperty IsLinearModeProperty

IsPopupOpenProperty

DependencyProperty

Identifies the IsPopupOpen dependency property.

C#
public static readonly DependencyProperty IsPopupOpenProperty

SelectedItemProperty

DependencyProperty

Identifies the CurrentItem dependency property.

C#
public static readonly DependencyProperty SelectedItemProperty

SplitButtonStyleProperty

DependencyProperty

Identifies the SplitButtonStyle dependency property.

C#
public static readonly DependencyProperty SplitButtonStyleProperty

TextModePathProperty

DependencyProperty

Identifies the TextModePath dependency property.

C#
public static readonly DependencyProperty TextModePathProperty

TypeProperty

DependencyProperty

Identifies the Type dependency property.

C#
public static readonly DependencyProperty TypeProperty

Properties

Gets or sets the DropDownHeader property.

C#
public object DropDownHeader { get; set; }

Gets or sets the DropDownHeaderTemplate property.

C#
public DataTemplate DropDownHeaderTemplate { get; set; }

Image

ImageSource

Gets or sets the Image property.

C#
public ImageSource Image { get; set; }

Gets or sets the style of IsLinearMode split button.

C#
public bool IsLinearMode { get; set; }

Gets or sets the IsPopupOpen property.

C#
public bool IsPopupOpen { get; set; }

Gets or sets the HasItems property.

C#
public object SelectedItem { get; set; }

Gets or sets the style of RadBreadcrumbBarItem split button.

C#
public Style SplitButtonStyle { get; set; }

Gets or sets the TextModePath property.

C#
public string TextModePath { get; set; }

Gets or sets the Type of the RadBreadcrumbBar.

C#
public RadBreadcrumbItemType Type { get; set; }

Methods

Clean up RadBreadcrumbBarItem item.

C#
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObjectitemobject

Returns a RadBreadcrumbBarItem.

C#
protected override DependencyObject GetContainerForItemOverride()
Returns:

DependencyObject

Handles the key down event.

C#
protected virtual void HandleKeyDown(object sender, KeyEventArgs e)
Parameters:senderobjecteKeyEventArgs

Returns true is item is a RadBreadcrumbBarItem.

C#
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters:itemobjectReturns:

bool

Applies the template for the RadBreadcrumbBarItem.

C#
public override void OnApplyTemplate()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Invoked when this BreadcrumbBairItem gets the focus.

C#
protected override void OnGotFocus(RoutedEventArgs e)
Parameters:eRoutedEventArgs

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Invoked when the IsLinearMode property changes.

C#
protected virtual void OnIsLinearModeChanged(bool oldValue, bool newValue)
Parameters:oldValueboolnewValuebool

Invoked when the IsPopupOpen property changes.

C#
protected virtual void OnIsPopupOpenChanged(bool oldValue, bool newValue)
Parameters:oldValueboolnewValuebool

Invoked when the Items property changes.

C#
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters:eNotifyCollectionChangedEventArgs

Invoked when this BreadcrumbBairItem loses the focus.

C#
protected override void OnLostFocus(RoutedEventArgs e)
Parameters:eRoutedEventArgs

Invoked on MouseLeave.

C#
protected override void OnMouseLeave(MouseEventArgs e)
Parameters:eMouseEventArgs

Invoked on MouseLeftButtonDown.

C#
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

Invoked on MouseMove.

C#
protected override void OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs
C#
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters:eMouseWheelEventArgs

Invoked when the SelectedItem property changes.

C#
protected virtual void OnSelectedItemChanged(object oldValue, object newValue)
Parameters:oldValueobjectnewValueobject

Invoked when the TextModePath property changes.

C#
protected virtual void OnTextModePathChanged(string oldValue, string newValue)
Parameters:oldValuestringnewValuestring

Invoked when the Type property changes.

C#
protected virtual void OnTypeChanged(RadBreadcrumbItemType oldValue, RadBreadcrumbItemType newValue)
Parameters:oldValueRadBreadcrumbItemTypenewValueRadBreadcrumbItemType

Prepares a RadBreadcrumbBarItem item.

C#
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObjectitemobject

Resets the theme.

C#
public void ResetTheme()

Return item text value.

C#
public override string ToString()
Returns:

string