C# Class Fluent.RibbonGroupBox

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

Méthodes publiques

Свойство Type Description
CanAddToQuickAccessToolBarProperty System.Windows.DependencyProperty
DialogLauncherButtonKeyTipKeysProperty System.Windows.DependencyProperty
HeaderProperty System.Windows.DependencyProperty
IconProperty System.Windows.DependencyProperty
IsDropDownOpenProperty DependencyProperty
IsLauncherEnabledProperty DependencyProperty
IsLauncherVisibleProperty DependencyProperty
LauncherButtonProperty DependencyProperty
LauncherCommandParameterProperty DependencyProperty
LauncherCommandProperty DependencyProperty
LauncherCommandTargetProperty DependencyProperty
LauncherIconProperty DependencyProperty
LauncherTextProperty DependencyProperty
LauncherToolTipProperty DependencyProperty
StateProperty DependencyProperty

Private Properties

Свойство Type Description
CoerceContextMenu object
CoerceIsDropDownOpen object
DecreaseScalableElement void
GetLayoutRoot System.Windows.Controls.Panel
GetPanel System.Windows.Controls.Panel
IncreaseScalableElement void
InvalidateLayout void
InvalidateMeasureRecursive void
OnClick void
OnCoerceStyle object
OnContextMenuChanged void
OnDialogLauncherButtonClick void
OnDialogLauncherButtonKeyTipKeysChanged void
OnIconChanged void
OnIsOpenChanged void
OnLoaded void
OnPopupClosed void
OnPopupOpened void
OnQuickAccessClosed void
OnQuickAccessOpened void
OnRibbonGroupBoxPopupClosing void
OnRibbonGroupBoxPopupOpening void
OnScalableControlScaled void
OnUnloaded void
OnVisibilityChanged void
RibbonGroupBox System
SetChildSizes void
StatePropertyChanged void
SubscribeEvents void
UnSubscribeEvents void
UpdateScalableControlSubscribing void
UpdateScalableControlSubscribing void

Méthodes publiques

Méthode Description
ClearCache ( ) : void

Clears cache

CreateQuickAccessItem ( ) : FrameworkElement

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.

OnApplyTemplate ( ) : void

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

OnKeyTipBack ( ) : void

Handles back navigation with KeyTips

OnKeyTipPressed ( ) : void

Handles key tip pressed

Méthodes protégées

Méthode Description
OnItemsChanged ( System e ) : void

Invoked when the System.Windows.Controls.ItemsControl.Items property changes.

OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void

Invoked when an unhandled System.Windows.UIElement.PreviewMouseLeftButtonDown�routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Private Methods

Méthode Description
CoerceContextMenu ( DependencyObject d, object basevalue ) : object
CoerceIsDropDownOpen ( DependencyObject d, object basevalue ) : object
DecreaseScalableElement ( ) : void
GetLayoutRoot ( ) : System.Windows.Controls.Panel

Gets cmmon layout root for popup and groupbox

GetPanel ( ) : System.Windows.Controls.Panel

Gets a panel with items

IncreaseScalableElement ( ) : void
InvalidateLayout ( ) : void

Invalidates layout (with children)

InvalidateMeasureRecursive ( UIElement element ) : void
OnClick ( object sender, RoutedEventArgs e ) : void

Click event handler

OnCoerceStyle ( DependencyObject d, object basevalue ) : object
OnContextMenuChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnDialogLauncherButtonClick ( object sender, RoutedEventArgs e ) : void

Dialog launcher button click handler

OnDialogLauncherButtonKeyTipKeysChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnIconChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnIsOpenChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles IsOpen propertyu changes

OnLoaded ( object sender, RoutedEventArgs e ) : void
OnPopupClosed ( object sender, EventArgs e ) : void
OnPopupOpened ( object sender, EventArgs e ) : void
OnQuickAccessClosed ( object sender, EventArgs e ) : void
OnQuickAccessOpened ( object sender, EventArgs e ) : void
OnRibbonGroupBoxPopupClosing ( ) : void
OnRibbonGroupBoxPopupOpening ( ) : void
OnScalableControlScaled ( object sender, EventArgs e ) : void
OnUnloaded ( object sender, RoutedEventArgs e ) : void
OnVisibilityChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
RibbonGroupBox ( ) : System
SetChildSizes ( RibbonGroupBoxState ribbonGroupBoxState, ItemsControl ribbonGroupBox ) : void
StatePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

On state property changed

SubscribeEvents ( ) : void
UnSubscribeEvents ( ) : void
UpdateScalableControlSubscribing ( ) : void
UpdateScalableControlSubscribing ( bool registerEvents ) : void

Method Details

ClearCache() public méthode

Clears cache
public ClearCache ( ) : void
Résultat void

CreateQuickAccessItem() public méthode

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.
public CreateQuickAccessItem ( ) : FrameworkElement
Résultat System.Windows.FrameworkElement

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

OnItemsChanged() protected méthode

Invoked when the System.Windows.Controls.ItemsControl.Items property changes.
protected OnItemsChanged ( System e ) : void
e System Information about the change.
Résultat void

OnKeyTipBack() public méthode

Handles back navigation with KeyTips
public OnKeyTipBack ( ) : void
Résultat void

OnKeyTipPressed() public méthode

Handles key tip pressed
public OnKeyTipPressed ( ) : void
Résultat void

OnMouseLeftButtonDown() protected méthode

Invoked when an unhandled System.Windows.UIElement.PreviewMouseLeftButtonDown�routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void
e MouseButtonEventArgs The System.Windows.Input.MouseButtonEventArgs that contains the event data. /// The event data reports that the left mouse button was pressed.
Résultat void

Property Details

CanAddToQuickAccessToolBarProperty public_oe static_oe property

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

DialogLauncherButtonKeyTipKeysProperty public_oe static_oe property

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

HeaderProperty public_oe static_oe property

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

IconProperty public_oe static_oe property

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

IsDropDownOpenProperty public_oe static_oe property

Using a DependencyProperty as the backing store for IsOpen. This enables animation, styling, binding, etc...
public static DependencyProperty IsDropDownOpenProperty
Résultat DependencyProperty

IsLauncherEnabledProperty public_oe static_oe property

Using a DependencyProperty as the backing store for IsLauncherEnabled. This enables animation, styling, binding, etc...
public static DependencyProperty IsLauncherEnabledProperty
Résultat DependencyProperty

IsLauncherVisibleProperty public_oe static_oe property

Using a DependencyProperty as the backing store for IsLauncherVisible. This enables animation, styling, binding, etc...
public static DependencyProperty IsLauncherVisibleProperty
Résultat DependencyProperty

LauncherButtonProperty public_oe static_oe property

Using a DependencyProperty as the backing store for LauncherButton. This enables animation, styling, binding, etc...
public static DependencyProperty LauncherButtonProperty
Résultat DependencyProperty

LauncherCommandParameterProperty public_oe static_oe property

Identifies the System.Windows.Controls.Primitives.ButtonBase.CommandParameter dependency property.
public static DependencyProperty LauncherCommandParameterProperty
Résultat DependencyProperty

LauncherCommandProperty public_oe static_oe property

Identifies the routed System.Windows.Controls.Primitives.ButtonBase.Command dependency property.
public static DependencyProperty LauncherCommandProperty
Résultat DependencyProperty

LauncherCommandTargetProperty public_oe static_oe property

Identifies the System.Windows.Controls.Primitives.ButtonBase.CommandTarget dependency property.
public static DependencyProperty LauncherCommandTargetProperty
Résultat DependencyProperty

LauncherIconProperty public_oe static_oe property

Using a DependencyProperty as the backing store for LauncherIcon. This enables animation, styling, binding, etc...
public static DependencyProperty LauncherIconProperty
Résultat DependencyProperty

LauncherTextProperty public_oe static_oe property

Using a DependencyProperty as the backing store for LauncherIcon. This enables animation, styling, binding, etc...
public static DependencyProperty LauncherTextProperty
Résultat DependencyProperty

LauncherToolTipProperty public_oe static_oe property

Using a DependencyProperty as the backing store for LauncherToolTip. This enables animation, styling, binding, etc...
public static DependencyProperty LauncherToolTipProperty
Résultat DependencyProperty

StateProperty public_oe static_oe property

Using a DependencyProperty as the backing store for State. This enables animation, styling, binding, etc...
public static DependencyProperty StateProperty
Résultat DependencyProperty