Class
RadBreadcrumbItem

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:

cs-api-definition
[TelerikToolboxCategory("Navigation")]
public class RadBreadcrumbItem : DependencyObject, ISupportInitialize

Inheritance: objectRadBreadcrumbItem

Implements: ISupportInitialize

Constructors

RadBreadcrumbItem()

Initializes a new instance of the RadBreadcrumbItem class.

Declaration

cs-api-definition
public RadBreadcrumbItem()

Fields

DropDownHeaderProperty

Identifies the DropDownHeader dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropDownHeaderProperty

Field Value

DependencyProperty

HeaderProperty

Identifies the Header dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderProperty

Field Value

DependencyProperty

ImageProperty

Identifies the Image dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ImageProperty

Field Value

DependencyProperty

ItemsProperty

Identifies the Items dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsProperty

Field Value

DependencyProperty

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

TextModePathProperty

Identifies the TextModePath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextModePathProperty

Field Value

DependencyProperty

Properties

DropDownHeader

Gets or sets the DropDownHeader property.

Declaration

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

Property Value

object

Header

Gets or sets the Header property.

Declaration

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

Property Value

object

Image

Gets or sets the Image property.

Declaration

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

Property Value

ImageSource

Items

Gets a collection containing the current items.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public BreadcrumbItemCollection Items { get; set; }

Property Value

BreadcrumbItemCollection

ItemsSource

Gets or sets the ItemsSource property.

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

TextModePath

Gets or sets the TextModePath property.

Declaration

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

Property Value

string

Methods

BeginInit()

Begins initialization.

Declaration

cs-api-definition
public void BeginInit()

Implements ISupportInitialize.BeginInit()

EndInit()

End initialization.

Declaration

cs-api-definition
public void EndInit()

Implements ISupportInitialize.EndInit()

OnDropDownHeaderChanged(object, object)

Invoked when the DropDownHeader property changes.

Declaration

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

Parameters

oldValue

object

newValue

object

OnHeaderChanged(object, object)

Invoked when the Header property changes.

Declaration

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

Parameters

oldValue

object

newValue

object

OnTextModeChanged(object, object)

Invoked when the TextMode property changes.

Declaration

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

Parameters

oldValue

object

newValue

object

ToString()

Return item text value.

Declaration

cs-api-definition
public override string ToString()

Returns

string