ClassRadBreadcrumbItem
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:
[TelerikToolboxCategory("Navigation")]
public class RadBreadcrumbItem : DependencyObject, ISupportInitialize
Inheritance: objectRadBreadcrumbItem
Implements:
Constructors
RadBreadcrumbItem()
Initializes a new instance of the RadBreadcrumbItem class.
Declaration
public RadBreadcrumbItem()
Fields
DropDownHeaderProperty
Identifies the DropDownHeader dependency property.
Declaration
public static readonly DependencyProperty DropDownHeaderProperty
Field Value
DependencyProperty
HeaderProperty
Identifies the Header dependency property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
DependencyProperty
ImageProperty
Identifies the Image dependency property.
Declaration
public static readonly DependencyProperty ImageProperty
Field Value
DependencyProperty
ItemsProperty
Identifies the Items dependency property.
Declaration
public static readonly DependencyProperty ItemsProperty
Field Value
DependencyProperty
ItemsSourceProperty
Identifies the ItemsSource dependency property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
DependencyProperty
TextModePathProperty
Identifies the TextModePath dependency property.
Declaration
public static readonly DependencyProperty TextModePathProperty
Field Value
DependencyProperty
Properties
DropDownHeader
Gets or sets the DropDownHeader property.
Header
Gets or sets the Header property.
Image
Gets or sets the Image property.
Declaration
public ImageSource Image { get; set; }
Property Value
ImageSource
Items
Gets a collection containing the current items.
Declaration
[SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public BreadcrumbItemCollection Items { get; set; }
Property Value
ItemsSource
Gets or sets the ItemsSource property.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
TextModePath
Gets or sets the TextModePath property.
Methods
OnDropDownHeaderChanged(object, object)
Invoked when the DropDownHeader property changes.
OnHeaderChanged(object, object)
Invoked when the Header property changes.
OnTextModeChanged(object, object)
Invoked when the TextMode property changes.
ToString()
Return item text value.