C# Класс Odyssey.Controls.BreadcrumbItem

Наследование: System.Windows.Controls.Primitives.Selector
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DropDownPressedChangedEvent System.Windows.RoutedEvent
HeaderProperty System.Windows.DependencyProperty
HeaderTemplateProperty System.Windows.DependencyProperty
HeaderTemplateSelectorProperty System.Windows.DependencyProperty
ImageProperty System.Windows.DependencyProperty
IsButtonVisibleProperty System.Windows.DependencyProperty
IsDropDownPressedProperty System.Windows.DependencyProperty
IsOverflowProperty System.Windows.DependencyProperty
IsRootProperty System.Windows.DependencyProperty
OverflowChangedEvent System.Windows.RoutedEvent
OverflowItemTemplateProperty System.Windows.DependencyProperty
OverflowItemTemplateSelectorProperty System.Windows.DependencyProperty
SelectedBreadcrumbProperty System.Windows.DependencyProperty
TraceChangedEvent System.Windows.RoutedEvent
TraceProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
ApplyBinding ( ) : void

Appies the binding to the breadcrumb item.

ContainerFromItem ( object item ) : BreadcrumbItem

Generates a new BreadcrumbItem out of the specified item.

CreateItem ( object dataContext ) : BreadcrumbItem

Creates a new BreadcrumbItem out of the specified data.

DropDownPressedPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Occurs when the IsDropDownPressed property is changed.

GetTraceItem ( ShellItem trace ) : object

Gets the item that represents the specified trace otherwise null.

OnApplyTemplate ( ) : void
OverflowPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Occurs when the Overflow property is changed.

Защищенные методы

Метод Описание
GetContainerForItemOverride ( ) : DependencyObject
IsItemItsOwnContainerOverride ( object item ) : bool
MeasureOverride ( Size constraint ) : Size

Perform a special measurement that checks whether to collapse the header.

OnDropDownPressedChanged ( ) : void

Occurs when the DropDown button is pressed or released.

OnItemsChanged ( System e ) : void
OnItemsSourceChanged ( IEnumerable oldValue, IEnumerable newValue ) : void
OnOverflowChanged ( bool newValue ) : void

Occurs when the Overflow property is changed.

OnSelectedBreadcrumbChanged ( object oldItem, object newItem ) : void

Occurs when the selected BreadcrumbItem is changed.

OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void

Приватные методы

Метод Описание
ApplyProperties ( object item ) : void
BreadcrumbItem ( ) : System
GetResourceKey ( object item ) : System.Windows.DataTemplateKey
HeaderPropertyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SelectedBreadcrumbPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
TracePropertyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Описание методов

ApplyBinding() публичный Метод

Appies the binding to the breadcrumb item.
public ApplyBinding ( ) : void
Результат void

ContainerFromItem() публичный Метод

Generates a new BreadcrumbItem out of the specified item.
public ContainerFromItem ( object item ) : BreadcrumbItem
item object The item for which to create a new BreadcrumbItem.
Результат BreadcrumbItem

CreateItem() публичный статический Метод

Creates a new BreadcrumbItem out of the specified data.
public static CreateItem ( object dataContext ) : BreadcrumbItem
dataContext object The DataContext for the BreadcrumbItem
Результат BreadcrumbItem

DropDownPressedPropertyChanged() публичный статический Метод

Occurs when the IsDropDownPressed property is changed.
public static DropDownPressedPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

GetContainerForItemOverride() защищенный Метод

protected GetContainerForItemOverride ( ) : DependencyObject
Результат System.Windows.DependencyObject

GetTraceItem() публичный Метод

Gets the item that represents the specified trace otherwise null.
public GetTraceItem ( ShellItem trace ) : object
trace ShellItem The Trace property of the associated BreadcrumbItem.
Результат object

IsItemItsOwnContainerOverride() защищенный Метод

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
Результат bool

MeasureOverride() защищенный Метод

Perform a special measurement that checks whether to collapse the header.
protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
Результат System.Windows.Size

OnApplyTemplate() публичный Метод

public OnApplyTemplate ( ) : void
Результат void

OnDropDownPressedChanged() защищенный Метод

Occurs when the DropDown button is pressed or released.
protected OnDropDownPressedChanged ( ) : void
Результат void

OnItemsChanged() защищенный Метод

protected OnItemsChanged ( System e ) : void
e System
Результат void

OnItemsSourceChanged() защищенный Метод

protected OnItemsSourceChanged ( IEnumerable oldValue, IEnumerable newValue ) : void
oldValue IEnumerable
newValue IEnumerable
Результат void

OnOverflowChanged() защищенный Метод

Occurs when the Overflow property is changed.
protected OnOverflowChanged ( bool newValue ) : void
newValue bool
Результат void

OnSelectedBreadcrumbChanged() защищенный Метод

Occurs when the selected BreadcrumbItem is changed.
protected OnSelectedBreadcrumbChanged ( object oldItem, object newItem ) : void
oldItem object
newItem object
Результат void

OnSelectionChanged() защищенный Метод

protected OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void
e System.Windows.Controls.SelectionChangedEventArgs
Результат void

OverflowPropertyChanged() публичный статический Метод

Occurs when the Overflow property is changed.
public static OverflowPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

Описание свойств

DropDownPressedChangedEvent публичное статическое свойство

Occurs when the IsDropDownPressed property is changed.
public static RoutedEvent,System.Windows DropDownPressedChangedEvent
Результат System.Windows.RoutedEvent

HeaderProperty публичное статическое свойство

Gets or sets the Header.
public static DependencyProperty,System.Windows HeaderProperty
Результат System.Windows.DependencyProperty

HeaderTemplateProperty публичное статическое свойство

public static DependencyProperty,System.Windows HeaderTemplateProperty
Результат System.Windows.DependencyProperty

HeaderTemplateSelectorProperty публичное статическое свойство

public static DependencyProperty,System.Windows HeaderTemplateSelectorProperty
Результат System.Windows.DependencyProperty

ImageProperty публичное статическое свойство

Gets or sets the ImageSource.
public static DependencyProperty,System.Windows ImageProperty
Результат System.Windows.DependencyProperty

IsButtonVisibleProperty публичное статическое свойство

public static DependencyProperty,System.Windows IsButtonVisibleProperty
Результат System.Windows.DependencyProperty

IsDropDownPressedProperty публичное статическое свойство

Gets or sets whether the dropdown button is pressed.
public static DependencyProperty,System.Windows IsDropDownPressedProperty
Результат System.Windows.DependencyProperty

IsOverflowProperty публичное статическое свойство

Gets or sets whether the BreadcrumbItem is in overflow mode, which means that the header property is not visible.
public static DependencyProperty,System.Windows IsOverflowProperty
Результат System.Windows.DependencyProperty

IsRootProperty публичное статическое свойство

Gets or sets whether this BreadcrumbItem is the Root of a BreadcrumbBar.
public static DependencyProperty,System.Windows IsRootProperty
Результат System.Windows.DependencyProperty

OverflowChangedEvent публичное статическое свойство

Occurs when the Overflow property is changed.
public static RoutedEvent,System.Windows OverflowChangedEvent
Результат System.Windows.RoutedEvent

OverflowItemTemplateProperty публичное статическое свойство

public static DependencyProperty,System.Windows OverflowItemTemplateProperty
Результат System.Windows.DependencyProperty

OverflowItemTemplateSelectorProperty публичное статическое свойство

Gets or sets the TemplateSelector of an Item.
public static DependencyProperty,System.Windows OverflowItemTemplateSelectorProperty
Результат System.Windows.DependencyProperty

SelectedBreadcrumbProperty публичное статическое свойство

public static DependencyProperty,System.Windows SelectedBreadcrumbProperty
Результат System.Windows.DependencyProperty

TraceChangedEvent публичное статическое свойство

Occurs when the Trace property is changed.
public static RoutedEvent,System.Windows TraceChangedEvent
Результат System.Windows.RoutedEvent

TraceProperty публичное статическое свойство

Gets or sets the Trace string to build the Path.
public static DependencyProperty,System.Windows TraceProperty
Результат System.Windows.DependencyProperty