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