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

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

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

Свойство Тип Описание
ApplyPropertiesEvent System.Windows.RoutedEvent
BreadcrumbItemDropDownClosedEvent System.Windows.RoutedEvent
BreadcrumbItemDropDownOpenedEvent System.Windows.RoutedEvent
BreadcrumbItemTemplateProperty System.Windows.DependencyProperty
BreadcrumbItemTemplateSelectorProperty System.Windows.DependencyProperty
CollapsedTracesProperty System.Windows.DependencyProperty
DropDownItemTemplateProperty System.Windows.DependencyProperty
DropDownItemTemplateSelectorProperty System.Windows.DependencyProperty
DropDownItemsPanelProperty System.Windows.DependencyProperty
HasDropDownItemsProperty System.Windows.DependencyProperty
IsDropDownOpenProperty System.Windows.DependencyProperty
IsOverflowPressedProperty System.Windows.DependencyProperty
IsRootSelectedProperty System.Windows.DependencyProperty
OverflowItemTemplateProperty System.Windows.DependencyProperty
OverflowItemTemplateSelectorProperty System.Windows.DependencyProperty
OverflowModeProperty System.Windows.DependencyProperty
ProgressMaximumProperty System.Windows.DependencyProperty
ProgressMinimumProperty System.Windows.DependencyProperty
ProgressValueChangedEvent System.Windows.RoutedEvent
ProgressValueProperty System.Windows.DependencyProperty
RootProperty System.Windows.DependencyProperty
SelectedBreadcrumbChangedEvent System.Windows.RoutedEvent
SelectedBreadcrumbProperty System.Windows.DependencyProperty
SelectedDropDownIndexProperty System.Windows.DependencyProperty
SelectedItemProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
BreadcrumbBar System
BuildBreadcrumbsFromPath void
CoerceProgressMaximum object
CoerceProgressMinimum object
CoerceProgressValue object
GetImage object
IsDropDownOpenChanged void
OverflowPressedChanged void
ProgressValuePropertyChanged void
RemoveLastEmptySeparator string
RootPropertyChanged void
SelectRootCommandExecuted void
SelectTraceCommandExecuted void
SelectedBreadcrumbPropertyChanged void
ShowDropDownExecuted void
breadcrumbItemDropDownChangedEvent void
breadcrumbItemSelectedItemChanged void
breadcrumbItemSelectionChangedEvent void
breadcrumbItemTraceValueChanged void
comboBox_DropDownClosed void
comboBox_KeyDown void
comboBox_Loaded void
menuItem_Click void
rootButton_Click void

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

Метод Описание
Exit ( bool updatePath ) : void

Do what's necessary to do when the BreadcrumbBar has lost focus.

GetDisplayPath ( ) : string

Gets the display path from the traces of the BreacrumbItems.

OnApplyTemplate ( ) : void
OnRootChanged ( object oldValue, object newValue ) : void

Occurs when the Root property is changed.

SetInputState ( ) : void
SetPathWithoutNavigate ( string path ) : void
SetProgressValue ( double value, Duration duration ) : void

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

Метод Описание
ArrangeOverride ( Size arrangeBounds ) : Size
OnBreadcrumbItemDropDownClosed ( RoutedEventArgs e ) : void

Occurs when the dropdown of a BreadcrumbItem is closed.

OnBreadcrumbItemDropDownOpened ( RoutedEventArgs e ) : void

Occurs when the dropdown of a BreadcrumbItem is opened.

OnDropDownOpenChanged ( bool oldValue, bool newValue ) : void

Occurs when the IsDropDownOpen property is changed.

OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnOverflowPressedChanged ( ) : void

Occurs when the IsOverflowPressed property is changed.

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

Метод Описание
BreadcrumbBar ( ) : System
BuildBreadcrumbsFromPath ( string newPath ) : void

Traces the specified path and builds the associated BreadcrumbItems.

CoerceProgressMaximum ( DependencyObject d, object baseValue ) : object
CoerceProgressMinimum ( DependencyObject d, object baseValue ) : object
CoerceProgressValue ( DependencyObject d, object baseValue ) : object

Check the desired value for ProgressValue and asure that it is between Minimum and Maximum:

GetImage ( ImageSource imageSource ) : object
IsDropDownOpenChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OverflowPressedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ProgressValuePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RemoveLastEmptySeparator ( string path ) : string

Remove the last separator string from the path if there is no additional trace.

RootPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SelectRootCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SelectTraceCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SelectedBreadcrumbPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ShowDropDownExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
breadcrumbItemDropDownChangedEvent ( object sender, RoutedEventArgs e ) : void
breadcrumbItemSelectedItemChanged ( object sender, RoutedEventArgs e ) : void
breadcrumbItemSelectionChangedEvent ( object sender, RoutedEventArgs e ) : void
breadcrumbItemTraceValueChanged ( object sender, RoutedEventArgs e ) : void
comboBox_DropDownClosed ( object sender, EventArgs e ) : void
comboBox_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
comboBox_Loaded ( object sender, RoutedEventArgs e ) : void
menuItem_Click ( object sender, RoutedEventArgs e ) : void
rootButton_Click ( object sender, RoutedEventArgs e ) : void

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

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

protected ArrangeOverride ( Size arrangeBounds ) : Size
arrangeBounds System.Windows.Size
Результат System.Windows.Size

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

Do what's necessary to do when the BreadcrumbBar has lost focus.
public Exit ( bool updatePath ) : void
updatePath bool
Результат void

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

Gets the display path from the traces of the BreacrumbItems.
public GetDisplayPath ( ) : string
Результат string

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

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

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

Occurs when the dropdown of a BreadcrumbItem is closed.
protected OnBreadcrumbItemDropDownClosed ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
Результат void

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

Occurs when the dropdown of a BreadcrumbItem is opened.
protected OnBreadcrumbItemDropDownOpened ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
Результат void

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

Occurs when the IsDropDownOpen property is changed.
protected OnDropDownOpenChanged ( bool oldValue, bool newValue ) : void
oldValue bool
newValue bool
Результат void

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

protected OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
Результат void

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

Occurs when the IsOverflowPressed property is changed.
protected OnOverflowPressedChanged ( ) : void
Результат void

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

Occurs when the Root property is changed.
public OnRootChanged ( object oldValue, object newValue ) : void
oldValue object
newValue object
Результат void

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

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

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

public SetPathWithoutNavigate ( string path ) : void
path string
Результат void

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

public SetProgressValue ( double value, Duration duration ) : void
value double
duration Duration
Результат void

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

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

public static RoutedEvent,System.Windows ApplyPropertiesEvent
Результат System.Windows.RoutedEvent

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

public static RoutedEvent,System.Windows BreadcrumbItemDropDownClosedEvent
Результат System.Windows.RoutedEvent

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

public static RoutedEvent,System.Windows BreadcrumbItemDropDownOpenedEvent
Результат System.Windows.RoutedEvent

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public static RoutedEvent,System.Windows ProgressValueChangedEvent
Результат System.Windows.RoutedEvent

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

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

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

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

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

public static RoutedEvent,System.Windows SelectedBreadcrumbChangedEvent
Результат System.Windows.RoutedEvent

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

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

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

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

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

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