ClassRadBreadcrumbBarItem
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:
[Themable]
public class RadBreadcrumbBarItem : HeaderedItemsControl
Inheritance: objectRadBreadcrumbBarItem
Constructors
RadBreadcrumbBarItem()
Initializes a new instance of the RadBreadcrumbBarItem class.
Declaration
public RadBreadcrumbBarItem()
RadBreadcrumbBarItem(RadBreadcrumbItemType, RadBreadcrumb)
Initializes a new instance of the RadBreadcrumbBarItem class with some parameters.
Declaration
public RadBreadcrumbBarItem(RadBreadcrumbItemType type, RadBreadcrumb parentBreadcrumb)
Parameters
type
parentBreadcrumb
Fields
DropDownHeaderProperty
Identifies the DropDownHeader dependency property.
Declaration
public static readonly DependencyProperty DropDownHeaderProperty
Field Value
DependencyProperty
DropDownHeaderTemplateProperty
Identifies the DropDownHeaderTemplate dependency property.
Declaration
public static readonly DependencyProperty DropDownHeaderTemplateProperty
Field Value
DependencyProperty
ImageProperty
Identifies the Image dependency property.
Declaration
public static readonly DependencyProperty ImageProperty
Field Value
DependencyProperty
IsIconVisibleProperty
Identifies the IsIconVisible dependency property.
Declaration
public static readonly DependencyProperty IsIconVisibleProperty
Field Value
DependencyProperty
IsLinearModeProperty
Identifies the IsLinearMode dependency property.
Declaration
public static readonly DependencyProperty IsLinearModeProperty
Field Value
DependencyProperty
IsPopupOpenProperty
Identifies the IsPopupOpen dependency property.
Declaration
public static readonly DependencyProperty IsPopupOpenProperty
Field Value
DependencyProperty
SelectedItemProperty
Identifies the CurrentItem dependency property.
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
DependencyProperty
SplitButtonStyleProperty
Identifies the SplitButtonStyle dependency property.
Declaration
public static readonly DependencyProperty SplitButtonStyleProperty
Field Value
DependencyProperty
TextModePathProperty
Identifies the TextModePath dependency property.
Declaration
public static readonly DependencyProperty TextModePathProperty
Field Value
DependencyProperty
TypeProperty
Identifies the Type dependency property.
Declaration
public static readonly DependencyProperty TypeProperty
Field Value
DependencyProperty
Properties
DropDownHeader
Gets or sets the DropDownHeader property.
DropDownHeaderTemplate
Gets or sets the DropDownHeaderTemplate property.
Declaration
public DataTemplate DropDownHeaderTemplate { get; set; }
Property Value
DataTemplate
Image
Gets or sets the Image property.
Declaration
public ImageSource Image { get; set; }
Property Value
ImageSource
IsLinearMode
Gets or sets the style of IsLinearMode split button.
IsPopupOpen
Gets or sets the IsPopupOpen property.
SelectedItem
Gets or sets the HasItems property.
SplitButtonStyle
Gets or sets the style of RadBreadcrumbBarItem split button.
Declaration
public Style SplitButtonStyle { get; set; }
Property Value
Style
TextModePath
Gets or sets the TextModePath property.
Type
Gets or sets the Type of the RadBreadcrumbBar.
Declaration
public RadBreadcrumbItemType Type { get; set; }
Property Value
Methods
ClearContainerForItemOverride(DependencyObject, object)
Clean up RadBreadcrumbBarItem item.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
item
GetContainerForItemOverride()
Returns a RadBreadcrumbBarItem.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
DependencyObject
HandleKeyDown(object, KeyEventArgs)
Handles the key down event.
Declaration
protected virtual void HandleKeyDown(object sender, KeyEventArgs e)
Parameters
sender
e
KeyEventArgs
IsItemItsOwnContainerOverride(object)
Returns true is item is a RadBreadcrumbBarItem.
OnApplyTemplate()
Applies the template for the RadBreadcrumbBarItem.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific AutomationPeer implementation.
OnGotFocus(RoutedEventArgs)
Invoked when this BreadcrumbBairItem gets the focus.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnIsLinearModeChanged(bool, bool)
Invoked when the IsLinearMode property changes.
OnIsPopupOpenChanged(bool, bool)
Invoked when the IsPopupOpen property changes.
OnItemsChanged(NotifyCollectionChangedEventArgs)
Invoked when the Items property changes.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
OnLostFocus(RoutedEventArgs)
Invoked when this BreadcrumbBairItem loses the focus.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
OnMouseLeave(MouseEventArgs)
Invoked on MouseLeave.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
OnMouseLeftButtonDown(MouseButtonEventArgs)
Invoked on MouseLeftButtonDown.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
OnMouseMove(MouseEventArgs)
Invoked on MouseMove.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
MouseEventArgs
OnMouseWheel(MouseWheelEventArgs)
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
e
MouseWheelEventArgs
OnSelectedItemChanged(object, object)
Invoked when the SelectedItem property changes.
OnTextModePathChanged(string, string)
Invoked when the TextModePath property changes.
OnTypeChanged(RadBreadcrumbItemType, RadBreadcrumbItemType)
Invoked when the Type property changes.
Declaration
protected virtual void OnTypeChanged(RadBreadcrumbItemType oldValue, RadBreadcrumbItemType newValue)
Parameters
oldValue
newValue
PrepareContainerForItemOverride(DependencyObject, object)
Prepares a RadBreadcrumbBarItem item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
item
ToString()
Return item text value.