C# Класс Fluent.RibbonGroupBox

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

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

Свойство Тип Описание
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

Свойство Тип Описание
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

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

Метод Описание
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

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

Метод Описание
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.

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

Метод Описание
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

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

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

Clears cache
public ClearCache ( ) : void
Результат void

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

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.
public CreateQuickAccessItem ( ) : FrameworkElement
Результат System.Windows.FrameworkElement

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

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().
public OnApplyTemplate ( ) : void
Результат void

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

Invoked when the System.Windows.Controls.ItemsControl.Items property changes.
protected OnItemsChanged ( System e ) : void
e System Information about the change.
Результат void

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

Handles back navigation with KeyTips
public OnKeyTipBack ( ) : void
Результат void

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

Handles key tip pressed
public OnKeyTipPressed ( ) : void
Результат void

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

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.
Результат void

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

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

Using a DependencyProperty as the backing store for CanAddToQuickAccessToolBar. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows CanAddToQuickAccessToolBarProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for LauncherKeys. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows DialogLauncherButtonKeyTipKeysProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for Header. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows HeaderProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for Icon. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IconProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for IsOpen. This enables animation, styling, binding, etc...
public static DependencyProperty IsDropDownOpenProperty
Результат DependencyProperty

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

Using a DependencyProperty as the backing store for IsLauncherEnabled. This enables animation, styling, binding, etc...
public static DependencyProperty IsLauncherEnabledProperty
Результат DependencyProperty

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

Using a DependencyProperty as the backing store for IsLauncherVisible. This enables animation, styling, binding, etc...
public static DependencyProperty IsLauncherVisibleProperty
Результат DependencyProperty

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

Using a DependencyProperty as the backing store for LauncherButton. This enables animation, styling, binding, etc...
public static DependencyProperty LauncherButtonProperty
Результат DependencyProperty

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

Identifies the System.Windows.Controls.Primitives.ButtonBase.CommandParameter dependency property.
public static DependencyProperty LauncherCommandParameterProperty
Результат DependencyProperty

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

Identifies the routed System.Windows.Controls.Primitives.ButtonBase.Command dependency property.
public static DependencyProperty LauncherCommandProperty
Результат DependencyProperty

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

Identifies the System.Windows.Controls.Primitives.ButtonBase.CommandTarget dependency property.
public static DependencyProperty LauncherCommandTargetProperty
Результат DependencyProperty

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

Using a DependencyProperty as the backing store for LauncherIcon. This enables animation, styling, binding, etc...
public static DependencyProperty LauncherIconProperty
Результат DependencyProperty

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

Using a DependencyProperty as the backing store for LauncherIcon. This enables animation, styling, binding, etc...
public static DependencyProperty LauncherTextProperty
Результат DependencyProperty

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

Using a DependencyProperty as the backing store for LauncherToolTip. This enables animation, styling, binding, etc...
public static DependencyProperty LauncherToolTipProperty
Результат DependencyProperty

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

Using a DependencyProperty as the backing store for State. This enables animation, styling, binding, etc...
public static DependencyProperty StateProperty
Результат DependencyProperty