Class
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:

cs-api-definition
[Themable]
public class RadBreadcrumbBarItem : HeaderedItemsControl

Inheritance: objectRadBreadcrumbBarItem

Constructors

RadBreadcrumbBarItem()

Initializes a new instance of the RadBreadcrumbBarItem class.

Declaration

cs-api-definition
public RadBreadcrumbBarItem()

RadBreadcrumbBarItem(RadBreadcrumbItemType, RadBreadcrumb)

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

Declaration

cs-api-definition
public RadBreadcrumbBarItem(RadBreadcrumbItemType type, RadBreadcrumb parentBreadcrumb)

Parameters

type

RadBreadcrumbItemType

parentBreadcrumb

RadBreadcrumb

Fields

DropDownHeaderProperty

Identifies the DropDownHeader dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropDownHeaderProperty

Field Value

DependencyProperty

DropDownHeaderTemplateProperty

Identifies the DropDownHeaderTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropDownHeaderTemplateProperty

Field Value

DependencyProperty

ImageProperty

Identifies the Image dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ImageProperty

Field Value

DependencyProperty

IsIconVisibleProperty

Identifies the IsIconVisible dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsIconVisibleProperty

Field Value

DependencyProperty

IsLinearModeProperty

Identifies the IsLinearMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsLinearModeProperty

Field Value

DependencyProperty

IsPopupOpenProperty

Identifies the IsPopupOpen dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsPopupOpenProperty

Field Value

DependencyProperty

SelectedItemProperty

Identifies the CurrentItem dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedItemProperty

Field Value

DependencyProperty

SplitButtonStyleProperty

Identifies the SplitButtonStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SplitButtonStyleProperty

Field Value

DependencyProperty

TextModePathProperty

Identifies the TextModePath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextModePathProperty

Field Value

DependencyProperty

TypeProperty

Identifies the Type dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TypeProperty

Field Value

DependencyProperty

Properties

DropDownHeader

Gets or sets the DropDownHeader property.

Declaration

cs-api-definition
public object DropDownHeader { get; set; }

Property Value

object

DropDownHeaderTemplate

Gets or sets the DropDownHeaderTemplate property.

Declaration

cs-api-definition
public DataTemplate DropDownHeaderTemplate { get; set; }

Property Value

DataTemplate

Image

Gets or sets the Image property.

Declaration

cs-api-definition
public ImageSource Image { get; set; }

Property Value

ImageSource

IsLinearMode

Gets or sets the style of IsLinearMode split button.

Declaration

cs-api-definition
public bool IsLinearMode { get; set; }

Property Value

bool

IsPopupOpen

Gets or sets the IsPopupOpen property.

Declaration

cs-api-definition
public bool IsPopupOpen { get; set; }

Property Value

bool

SelectedItem

Gets or sets the HasItems property.

Declaration

cs-api-definition
public object SelectedItem { get; set; }

Property Value

object

SplitButtonStyle

Gets or sets the style of RadBreadcrumbBarItem split button.

Declaration

cs-api-definition
public Style SplitButtonStyle { get; set; }

Property Value

Style

TextModePath

Gets or sets the TextModePath property.

Declaration

cs-api-definition
public string TextModePath { get; set; }

Property Value

string

Type

Gets or sets the Type of the RadBreadcrumbBar.

Declaration

cs-api-definition
public RadBreadcrumbItemType Type { get; set; }

Property Value

RadBreadcrumbItemType

Methods

ClearContainerForItemOverride(DependencyObject, object)

Clean up RadBreadcrumbBarItem item.

Declaration

cs-api-definition
protected override void ClearContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

item

object

GetContainerForItemOverride()

Returns a RadBreadcrumbBarItem.

Declaration

cs-api-definition
protected override DependencyObject GetContainerForItemOverride()

Returns

DependencyObject

HandleKeyDown(object, KeyEventArgs)

Handles the key down event.

Declaration

cs-api-definition
protected virtual void HandleKeyDown(object sender, KeyEventArgs e)

Parameters

sender

object

e

KeyEventArgs

IsItemItsOwnContainerOverride(object)

Returns true is item is a RadBreadcrumbBarItem.

Declaration

cs-api-definition
protected override bool IsItemItsOwnContainerOverride(object item)

Parameters

item

object

Returns

bool

OnApplyTemplate()

Applies the template for the RadBreadcrumbBarItem.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

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

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnGotFocus(RoutedEventArgs)

Invoked when this BreadcrumbBairItem gets the focus.

Declaration

cs-api-definition
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

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnIsLinearModeChanged(bool, bool)

Invoked when the IsLinearMode property changes.

Declaration

cs-api-definition
protected virtual void OnIsLinearModeChanged(bool oldValue, bool newValue)

Parameters

oldValue

bool

newValue

bool

OnIsPopupOpenChanged(bool, bool)

Invoked when the IsPopupOpen property changes.

Declaration

cs-api-definition
protected virtual void OnIsPopupOpenChanged(bool oldValue, bool newValue)

Parameters

oldValue

bool

newValue

bool

OnItemsChanged(NotifyCollectionChangedEventArgs)

Invoked when the Items property changes.

Declaration

cs-api-definition
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Parameters

e

NotifyCollectionChangedEventArgs

OnLostFocus(RoutedEventArgs)

Invoked when this BreadcrumbBairItem loses the focus.

Declaration

cs-api-definition
protected override void OnLostFocus(RoutedEventArgs e)

Parameters

e

RoutedEventArgs

OnMouseLeave(MouseEventArgs)

Invoked on MouseLeave.

Declaration

cs-api-definition
protected override void OnMouseLeave(MouseEventArgs e)

Parameters

e

MouseEventArgs

OnMouseLeftButtonDown(MouseButtonEventArgs)

Invoked on MouseLeftButtonDown.

Declaration

cs-api-definition
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)

Parameters

e

MouseButtonEventArgs

OnMouseMove(MouseEventArgs)

Invoked on MouseMove.

Declaration

cs-api-definition
protected override void OnMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

OnMouseWheel(MouseWheelEventArgs)

Declaration

cs-api-definition
protected override void OnMouseWheel(MouseWheelEventArgs e)

Parameters

e

MouseWheelEventArgs

OnSelectedItemChanged(object, object)

Invoked when the SelectedItem property changes.

Declaration

cs-api-definition
protected virtual void OnSelectedItemChanged(object oldValue, object newValue)

Parameters

oldValue

object

newValue

object

OnTextModePathChanged(string, string)

Invoked when the TextModePath property changes.

Declaration

cs-api-definition
protected virtual void OnTextModePathChanged(string oldValue, string newValue)

Parameters

oldValue

string

newValue

string

OnTypeChanged(RadBreadcrumbItemType, RadBreadcrumbItemType)

Invoked when the Type property changes.

Declaration

cs-api-definition
protected virtual void OnTypeChanged(RadBreadcrumbItemType oldValue, RadBreadcrumbItemType newValue)

Parameters

oldValue

RadBreadcrumbItemType

newValue

RadBreadcrumbItemType

PrepareContainerForItemOverride(DependencyObject, object)

Prepares a RadBreadcrumbBarItem item.

Declaration

cs-api-definition
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

item

object

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

ToString()

Return item text value.

Declaration

cs-api-definition
public override string ToString()

Returns

string