C# Class Fluent.QuickAccessToolBar

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

Méthodes publiques

Свойство Type Description
CanQuickAccessLocationChangingProperty System.Windows.DependencyProperty
HasOverflowItemsProperty System.Windows.DependencyProperty
ShowAboveRibbonProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
GetNonOverflowItemsCount int
InvalidateMeasureOfParentRibbon void
OnChildSizeChanged void
OnCoerceStyle object
OnItemsCollectionChanged void
OnQuickAccessItemsCollectionChanged void
OnShowAboveClick void
OnShowBelowClick void
OnToolBarDownClosed void
OnToolBarDownOpened void
QuickAccessToolBar System
UpdateHasOverflowItems void
UpdateKeyTips void

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().

Méthodes protégées

Méthode Description
MeasureOverride ( Size constraint ) : Size

Called to remeasure a control.

OnRequestCustomize ( object sender, RoutedEventArgs e ) : void

Handles "Customize Quick Access Toolbar" click

Private Methods

Méthode Description
GetNonOverflowItemsCount ( double width ) : int
InvalidateMeasureOfParentRibbon ( ) : void
OnChildSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnCoerceStyle ( DependencyObject d, object basevalue ) : object
OnItemsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnQuickAccessItemsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles quick access menu items chages

OnShowAboveClick ( object sender, RoutedEventArgs e ) : void

Handles show above menu item click

OnShowBelowClick ( object sender, RoutedEventArgs e ) : void

Handles show below menu item click

OnToolBarDownClosed ( object sender, EventArgs e ) : void
OnToolBarDownOpened ( object sender, EventArgs e ) : void
QuickAccessToolBar ( ) : System
UpdateHasOverflowItems ( ) : void

We have to use this function because setting a DependencyProperty very frequently is quite expensive

UpdateKeyTips ( ) : void

Method Details

MeasureOverride() protected méthode

Called to remeasure a control.
protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size The maximum size that the method can return
Résultat System.Windows.Size

OnApplyTemplate() public méthode

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().
public OnApplyTemplate ( ) : void
Résultat void

OnRequestCustomize() protected méthode

Handles "Customize Quick Access Toolbar" click
protected OnRequestCustomize ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Résultat void

Property Details

CanQuickAccessLocationChangingProperty public_oe static_oe property

Using a DependencyProperty as the backing store for CanQuickAccessLocationChanging. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows CanQuickAccessLocationChangingProperty
Résultat System.Windows.DependencyProperty

HasOverflowItemsProperty public_oe static_oe property

Using a DependencyProperty as the backing store for HasOverflowItems. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows HasOverflowItemsProperty
Résultat System.Windows.DependencyProperty

ShowAboveRibbonProperty public_oe static_oe property

Using a DependencyProperty as the backing store for ShowAboveRibbon. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows ShowAboveRibbonProperty
Résultat System.Windows.DependencyProperty