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

Represents an item in a breadcrumb navigation control, providing a way to display and interact with a hierarchical path of navigation. This class extends the functionality of WPF's DependencyObject and implements ISupportInitialize for initialization support. It includes properties for customizing the header, dropdown header, image, text mode path, and a source collection of child items. The Items property maintains a collection of breadcrumb items, and the class manages interaction with an ItemsSource to allow dynamic updating of the breadcrumb items. Additionally, event hooks are provided for handling changes in item collections, ensuring consistency in the displayed data.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
[TelerikToolboxCategory("Navigation")]
public class RadBreadcrumbItem : DependencyObject, ISupportInitialize

Inheritance: objectRadBreadcrumbItem

Implements: ISupportInitialize

Constructors

Initializes a new instance of the RadBreadcrumbItem class.

C#
public RadBreadcrumbItem()

Fields

DropDownHeaderProperty

DependencyProperty

Identifies the DropDownHeader dependency property.

C#
public static readonly DependencyProperty DropDownHeaderProperty

HeaderProperty

DependencyProperty

Identifies the Header dependency property.

C#
public static readonly DependencyProperty HeaderProperty

ImageProperty

DependencyProperty

Identifies the Image dependency property.

C#
public static readonly DependencyProperty ImageProperty

ItemsProperty

DependencyProperty

Identifies the Items dependency property.

C#
public static readonly DependencyProperty ItemsProperty

ItemsSourceProperty

DependencyProperty

Identifies the ItemsSource dependency property.

C#
public static readonly DependencyProperty ItemsSourceProperty

TextModePathProperty

DependencyProperty

Identifies the TextModePath dependency property.

C#
public static readonly DependencyProperty TextModePathProperty

Properties

Gets or sets the DropDownHeader property.

C#
public object DropDownHeader { get; set; }

Gets or sets the Header property.

C#
public object Header { get; set; }

Image

ImageSource

Gets or sets the Image property.

C#
public ImageSource Image { get; set; }

Gets a collection containing the current items.

C#
public BreadcrumbItemCollection Items { get; set; }

Gets or sets the ItemsSource property.

C#
public IEnumerable ItemsSource { get; set; }

Gets or sets the TextModePath property.

C#
public string TextModePath { get; set; }

Methods

Begins initialization.

C#
public void BeginInit()

Implements: ISupportInitialize.BeginInit()

End initialization.

C#
public void EndInit()

Implements: ISupportInitialize.EndInit()

Invoked when the DropDownHeader property changes.

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

Invoked when the Header property changes.

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

Invoked when the TextMode property changes.

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

Return item text value.

C#
public override string ToString()
Returns:

string