C# Class Fluent.RibbonGroupBox

Inheritance: System.Windows.Controls.ItemsControl, IQuickAccessItemProvider
Show file Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property 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

Property 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

Public Methods

Method 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

Protected Methods

Method 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

Method 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 method

Clears cache
public ClearCache ( ) : void
return void

CreateQuickAccessItem() public method

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

OnApplyTemplate() public method

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

OnItemsChanged() protected method

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

OnKeyTipBack() public method

Handles back navigation with KeyTips
public OnKeyTipBack ( ) : void
return void

OnKeyTipPressed() public method

Handles key tip pressed
public OnKeyTipPressed ( ) : void
return void

OnMouseLeftButtonDown() protected method

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.
return void

Property Details

CanAddToQuickAccessToolBarProperty public static property

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

DialogLauncherButtonKeyTipKeysProperty public static property

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

HeaderProperty public static property

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

IconProperty public static property

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

IsDropDownOpenProperty public static property

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

IsLauncherEnabledProperty public static property

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

IsLauncherVisibleProperty public static property

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

LauncherButtonProperty public static property

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

LauncherCommandParameterProperty public static property

Identifies the System.Windows.Controls.Primitives.ButtonBase.CommandParameter dependency property.
public static DependencyProperty LauncherCommandParameterProperty
return DependencyProperty

LauncherCommandProperty public static property

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

LauncherCommandTargetProperty public static property

Identifies the System.Windows.Controls.Primitives.ButtonBase.CommandTarget dependency property.
public static DependencyProperty LauncherCommandTargetProperty
return DependencyProperty

LauncherIconProperty public static property

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

LauncherTextProperty public static property

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

LauncherToolTipProperty public static property

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

StateProperty public static property

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