C# Class Odyssey.Controls.BreadcrumbBar

Inheritance: System.Windows.Controls.Control, IAddChild
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

ArrangeOverride() protected méthode

protected ArrangeOverride ( Size arrangeBounds ) : Size
arrangeBounds System.Windows.Size
Résultat System.Windows.Size

Exit() public méthode

Do what's necessary to do when the BreadcrumbBar has lost focus.
public Exit ( bool updatePath ) : void
updatePath bool
Résultat void

GetDisplayPath() public méthode

Gets the display path from the traces of the BreacrumbItems.
public GetDisplayPath ( ) : string
Résultat string

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnBreadcrumbItemDropDownClosed() protected méthode

Occurs when the dropdown of a BreadcrumbItem is closed.
protected OnBreadcrumbItemDropDownClosed ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
Résultat void

OnBreadcrumbItemDropDownOpened() protected méthode

Occurs when the dropdown of a BreadcrumbItem is opened.
protected OnBreadcrumbItemDropDownOpened ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
Résultat void

OnDropDownOpenChanged() protected méthode

Occurs when the IsDropDownOpen property is changed.
protected OnDropDownOpenChanged ( bool oldValue, bool newValue ) : void
oldValue bool
newValue bool
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
Résultat void

OnOverflowPressedChanged() protected méthode

Occurs when the IsOverflowPressed property is changed.
protected OnOverflowPressedChanged ( ) : void
Résultat void

OnRootChanged() public méthode

Occurs when the Root property is changed.
public OnRootChanged ( object oldValue, object newValue ) : void
oldValue object
newValue object
Résultat void

SetInputState() public méthode

public SetInputState ( ) : void
Résultat void

SetPathWithoutNavigate() public méthode

public SetPathWithoutNavigate ( string path ) : void
path string
Résultat void

SetProgressValue() public méthode

public SetProgressValue ( double value, Duration duration ) : void
value double
duration Duration
Résultat void

Property Details

ApplyPropertiesEvent public_oe static_oe property

public static RoutedEvent,System.Windows ApplyPropertiesEvent
Résultat System.Windows.RoutedEvent

BreadcrumbItemDropDownClosedEvent public_oe static_oe property

public static RoutedEvent,System.Windows BreadcrumbItemDropDownClosedEvent
Résultat System.Windows.RoutedEvent

BreadcrumbItemDropDownOpenedEvent public_oe static_oe property

public static RoutedEvent,System.Windows BreadcrumbItemDropDownOpenedEvent
Résultat System.Windows.RoutedEvent

BreadcrumbItemTemplateProperty public_oe static_oe property

public static DependencyProperty,System.Windows BreadcrumbItemTemplateProperty
Résultat System.Windows.DependencyProperty

BreadcrumbItemTemplateSelectorProperty public_oe static_oe property

public static DependencyProperty,System.Windows BreadcrumbItemTemplateSelectorProperty
Résultat System.Windows.DependencyProperty

CollapsedTracesProperty public_oe static_oe property

public static DependencyProperty,System.Windows CollapsedTracesProperty
Résultat System.Windows.DependencyProperty

DropDownItemTemplateProperty public_oe static_oe property

public static DependencyProperty,System.Windows DropDownItemTemplateProperty
Résultat System.Windows.DependencyProperty

DropDownItemTemplateSelectorProperty public_oe static_oe property

public static DependencyProperty,System.Windows DropDownItemTemplateSelectorProperty
Résultat System.Windows.DependencyProperty

DropDownItemsPanelProperty public_oe static_oe property

public static DependencyProperty,System.Windows DropDownItemsPanelProperty
Résultat System.Windows.DependencyProperty

HasDropDownItemsProperty public_oe static_oe property

public static DependencyProperty,System.Windows HasDropDownItemsProperty
Résultat System.Windows.DependencyProperty

IsDropDownOpenProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsDropDownOpenProperty
Résultat System.Windows.DependencyProperty

IsOverflowPressedProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsOverflowPressedProperty
Résultat System.Windows.DependencyProperty

IsRootSelectedProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsRootSelectedProperty
Résultat System.Windows.DependencyProperty

OverflowItemTemplateProperty public_oe static_oe property

public static DependencyProperty,System.Windows OverflowItemTemplateProperty
Résultat System.Windows.DependencyProperty

OverflowItemTemplateSelectorProperty public_oe static_oe property

public static DependencyProperty,System.Windows OverflowItemTemplateSelectorProperty
Résultat System.Windows.DependencyProperty

OverflowModeProperty public_oe static_oe property

public static DependencyProperty,System.Windows OverflowModeProperty
Résultat System.Windows.DependencyProperty

ProgressMaximumProperty public_oe static_oe property

public static DependencyProperty,System.Windows ProgressMaximumProperty
Résultat System.Windows.DependencyProperty

ProgressMinimumProperty public_oe static_oe property

public static DependencyProperty,System.Windows ProgressMinimumProperty
Résultat System.Windows.DependencyProperty

ProgressValueChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows ProgressValueChangedEvent
Résultat System.Windows.RoutedEvent

ProgressValueProperty public_oe static_oe property

public static DependencyProperty,System.Windows ProgressValueProperty
Résultat System.Windows.DependencyProperty

RootProperty public_oe static_oe property

public static DependencyProperty,System.Windows RootProperty
Résultat System.Windows.DependencyProperty

SelectedBreadcrumbChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows SelectedBreadcrumbChangedEvent
Résultat System.Windows.RoutedEvent

SelectedBreadcrumbProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedBreadcrumbProperty
Résultat System.Windows.DependencyProperty

SelectedDropDownIndexProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedDropDownIndexProperty
Résultat System.Windows.DependencyProperty

SelectedItemProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedItemProperty
Résultat System.Windows.DependencyProperty