BinaryRibbonBarPanel
BinaryRibbonBarPanel also known as Ribbon bar, is the Ribbon panel control where you can host all ribbon child controls.
public class BinaryRibbonBarPanel : Control
Inherits from / implements: Control
Members at a glance
BinaryRibbonBarPanel | Initializes a new instance of the BinaryRibbonBarPanel class. |
AlignGroupsLeftCommand | Gets the "align groups to left" Routed UI command. |
AlignGroupsRightCommand | Gets the "align groups right" command. |
ApplicationMenu | Gets or sets the instance of the BinaryRibbonApplicationMenu. |
BackgroundColor | Gets or sets the background color. |
CanMinimize | Gets or sets a value indicating whether this instance can be minimized. |
CollapseRibbonBarCommand | Gets the "collapse ribbon bar" command. |
ContextualTabSet | Gets or sets the contextual tab set. |
ContextualTabSets | Gets the contextual tab sets. |
CurrentlyVisibleTabItems | Gets the currently visible tab items. |
IsExpanded | Gets or sets a value indicating whether this instance is expanded. |
IsMenuOpen | Gets or sets a value indicating whether the application menu instance is currently open. |
IsMinimized | Gets or sets a value indicating whether this instance is currently minimized. |
IsRibbonControlVisible | Gets or sets a value indicating whether this ribbon control instance is visible. |
LogicalChildren | Gets the children this element contributes to the logical tree. |
QuickAccessToolBar | Gets or sets the Quick Access Toolbar (QAT) instance. |
SelectedGroups | Gets or sets the selected groups. |
SelectedTabIndex | Gets or sets the index of the selected tab. |
SelectedTabItem | Gets or sets the selected tab item. |
Tabs | Gets the collection of tabs in the control. |
TitleText | Gets or sets the window title text. |
ToolbarPlacementLocation | Gets or sets the toolbar placement location. |
ArrangeOverride | Places the children within the space this element was given, and reports the space it actually used. |
GetMaxSize | Gets the maximum size mode. |
GetMinSize | Gets the minimum size mode. |
GetResizableSize | Gets the resizable size colection. |
GetSize | Gets the size mode the control is currently in. |
IndexOfVisibleTab | A helper method to return the visible index of the given tab item. |
OnApplyTemplate | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate. |
OnContextualTabSetChanged | Called when the ContextualTabSet dependency property changes. |
OnContextualTabSetsChanged | Called when the contextual tab sets collection changes, which is where this control brings its layout back in step with its contents. |
OnIsBarExpandedChanged | Called when the IsBarExpanded dependency property changes. |
OnLostKeyboardFocus | Raises the LostKeyboardFocus event. BinaryRibbonBarPanel overrides it so the control's own handling runs alongside the base behavior. |
OnLostMouseCapture | Raises the LostMouseCapture event. BinaryRibbonBarPanel overrides it so the control's own handling runs alongside the base behavior. |
OnPopupClose | Called when this control's drop-down popup closes. Override to react to it without having to attach to the popup yourself. |
OnPopupOpen | Called when this control's drop-down popup opens. Override to react to it without having to attach to the popup yourself. |
OnPreviewMouseLeftButtonDown | Raises the PreviewMouseLeftButtonDown event. BinaryRibbonBarPanel overrides it so the control's own handling runs alongside the base behavior. |
OnSelectedGroupsChangedCallback | Called when the SelectedGroups dependency property changes. |
OnSelectedTabIndexChanged | Called when the SelectedTabIndex dependency property changes. |
OnTabItemCollectionChanged | Called when the tab item collection changes, which is where this control brings its layout back in step with its contents. |
OnVisualParentChanged | Called when this element is moved to a different visual parent. |
SetGroupRenderingAlignment | Sets how the groups on the current tab are aligned along the bar. The base does nothing; a derived bar overrides it to lay its groups out its own way. |
SetMaxSize | Sets the maximum size mode. |
SetMinSize | Sets the minimum size mode. |
SetResizableSize | Gets the resizable size colection. |
SetSize | Sets the size mode the control is currently to be in. |
VisibleTabFromIndex | A helper method to return the visible tabl item, given an index. |
SelectedTabIndexChanged | Occurs when selected tab index changes. |
ApplicationMenuProperty | ApplicationMenuProperty property. |
BackgroundColorProperty | BackgroundColorProperty property. |
CanMinimizeProperty | CanMinimizeProperty property. |
ContextualTabSetProperty | ContextualTabSetProperty property. |
IsExpandedProperty | IsExpandedProperty property. |
IsMenuOpenProperty | IsMenuOpenProperty property. |
IsMinimizedProperty | IsMinimizedProperty property. |
IsRibbonControlVisibleProperty | IsRibbonControlVisibleProperty property. |
MaxSizeProperty | MaxSizeProperty attached property. |
MinSizeProperty | MinSizeProperty attached property. |
QuickAccessToolBarProperty | QuickAccessToolBarProperty property. |
ResizableSizeProperty | ResizableSizeProperty attached property. |
SelectedGroupsProperty | SelectedGroupsProperty property. |
SelectedTabIndexChangedEvent | SelectedTabIndexChangedEvent Routed event instance. |
SelectedTabIndexProperty | SelectedTabIndexProperty property. |
SizeProperty | SizeProperty attached property. |
TitleTextProperty | TitleTextProperty property. |
ToolbarPlacementLocationProperty | ToolbarPlacementLocationProperty property. |
Constructors
BinaryRibbonBarPanel
Initializes a new instance of the BinaryRibbonBarPanel class.
Properties
AlignGroupsLeftCommand
Gets the "align groups to left" Routed UI command.
AlignGroupsRightCommand
Gets the "align groups right" command.
Value. The align groups right command.
BackgroundColor
Gets or sets the background color.
CanMinimize
Gets or sets a value indicating whether this instance can be minimized.
Value. true if this instance can minimize; otherwise, false .
CollapseRibbonBarCommand
Gets the "collapse ribbon bar" command.
Value. The collapse ribbon bar command.
ContextualTabSet
Gets or sets the contextual tab set.
Value. The contextual tab set.
ContextualTabSets
Gets the contextual tab sets.
Value. The contextual tab sets.
CurrentlyVisibleTabItems
Gets the currently visible tab items.
Value. The currently visible tab items.
IsExpanded
Gets or sets a value indicating whether this instance is expanded.
Value. true if this instance is expanded; otherwise, false .
IsMinimized
Gets or sets a value indicating whether this instance is currently minimized.
Value. true if this instance is minimized; otherwise, false .
IsRibbonControlVisible
Gets or sets a value indicating whether this ribbon control instance is visible.
LogicalChildren
Gets the children this element contributes to the logical tree.
QuickAccessToolBar
Gets or sets the Quick Access Toolbar (QAT) instance.
SelectedGroups
Gets or sets the selected groups.
Value. The selected groups.
SelectedTabIndex
Gets or sets the index of the selected tab.
Value. The index of the selected tab.
SelectedTabItem
Gets or sets the selected tab item.
Value. The selected tab item.
Tabs
Gets the collection of tabs in the control.
TitleText
Gets or sets the window title text.
Value. The title text.
ToolbarPlacementLocation
Gets or sets the toolbar placement location.
Value. The toolbar placement location.
Methods
ArrangeOverride
Places the children within the space this element was given, and reports the space it actually used.
GetMaxSize
Gets the maximum size mode.
- obj
- The obj.
GetMinSize
Gets the minimum size mode.
GetResizableSize
Gets the resizable size colection.
GetSize
Gets the size mode the control is currently in.
IndexOfVisibleTab
A helper method to return the visible index of the given tab item.
- tabItem
- The tab item.
OnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
OnContextualTabSetChanged
Called when the ContextualTabSet dependency property changes.
- e
- The old and new values of the property.
OnContextualTabSetsChanged
Called when the contextual tab sets collection changes, which is where this control brings its layout back in step with its contents.
- sender
- The collection that changed.
- e
- What was added, removed or moved.
OnIsBarExpandedChanged
Called when the IsBarExpanded dependency property changes.
- e
- The old and new values of the property.
OnLostKeyboardFocus
Raises the LostKeyboardFocus event. BinaryRibbonBarPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnLostMouseCapture
Raises the LostMouseCapture event. BinaryRibbonBarPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnPopupClose
Called when this control's drop-down popup closes. Override to react to it without having to attach to the popup yourself.
- sender
- The popup.
- e
- Not used.
OnPopupOpen
Called when this control's drop-down popup opens. Override to react to it without having to attach to the popup yourself.
- sender
- The popup.
- e
- Not used.
OnPreviewMouseLeftButtonDown
Raises the PreviewMouseLeftButtonDown event. BinaryRibbonBarPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnSelectedGroupsChangedCallback
Called when the SelectedGroups dependency property changes.
- e
- The old and new values of the property.
OnSelectedTabIndexChanged
Called when the SelectedTabIndex dependency property changes.
- e
- The old and new values of the property.
OnTabItemCollectionChanged
Called when the tab item collection changes, which is where this control brings its layout back in step with its contents.
- sender
- The collection that changed.
- e
- What was added, removed or moved.
OnVisualParentChanged
Called when this element is moved to a different visual parent.
SetGroupRenderingAlignment
Sets how the groups on the current tab are aligned along the bar. The base does nothing; a derived bar overrides it to lay its groups out its own way.
- alignment
- The alignment to apply.
SetMaxSize
Sets the maximum size mode.
- obj
- The obj.
- value
- The value.
SetMinSize
Sets the minimum size mode.
SetResizableSize
Gets the resizable size colection.
SetSize
Sets the size mode the control is currently to be in.
VisibleTabFromIndex
A helper method to return the visible tabl item, given an index.
- index
- The index.
Events
SelectedTabIndexChanged
Occurs when selected tab index changes.
Fields
BackgroundColorProperty
BackgroundColorProperty property.
CanMinimizeProperty
CanMinimizeProperty property.
ContextualTabSetProperty
ContextualTabSetProperty property.
IsExpandedProperty
IsExpandedProperty property.
IsMinimizedProperty
IsMinimizedProperty property.
IsRibbonControlVisibleProperty
IsRibbonControlVisibleProperty property.
MaxSizeProperty
MaxSizeProperty attached property.
MinSizeProperty
MinSizeProperty attached property.
QuickAccessToolBarProperty
QuickAccessToolBarProperty property.
ResizableSizeProperty
ResizableSizeProperty attached property.
SelectedGroupsProperty
SelectedGroupsProperty property.
SelectedTabIndexChangedEvent
SelectedTabIndexChangedEvent Routed event instance.
SelectedTabIndexProperty
SelectedTabIndexProperty property.
SizeProperty
SizeProperty attached property.
TitleTextProperty
TitleTextProperty property.
ToolbarPlacementLocationProperty
ToolbarPlacementLocationProperty property.