Skip to content

RibbonBar Collection Members

See Also

See Also


RibbonBar Collection Members

Public Methods

Method Description
Public MethodAddSystemButton Adds the Office 2007 style ribbon system popup menu.
Public MethodDelete Deletes the Ribbon Bar.
Public MethodEnableDocking Enables docking of the Ribbon Bar to different edges of the form.
Public MethodEnableFrameTheme Enables/disables the Ribbon Office 2007 style themed window frame.
Public MethodFindControl Finds and returns the specified control within the Ribbon Bar's collection of controls.
Public MethodFindGroup Finds and returns a RibbonGroup by the Ribbon Group Id.
Public MethodFindTab Finds and returns a RibbonTab by the Ribbon Tab Id.
Public MethodGetIconHeight Gets the height of the icons displayed in the Ribbon Bar.
Public MethodGetIconWidth Gets the width of the icons displayed in the Ribbon Bar.
Public MethodGetWindowRect Gets the bounding rectangle of the Ribbon Bar. This is the area of the window that the Ribbon Bar occupies.
Public MethodInsertTab Inserts a tab into the Ribbon Bar.
Public MethodRecalcLayout Call this method to re-calculate the layout of the Ribbon Bar after making a layout change.
Public MethodRedrawBar Call this method to redraw the Ribbon Bar after making a change that requires the Ribbon Bar to be re-painted.
Public MethodRemoveAllTabs Removes all tabs from the Ribbon Bar.
Public MethodRemoveTab Removes the specified tab from the Ribbon Bar.
Public MethodReset Resets the controls in the Ribbon Bar to their original state.
Public MethodSetIconSize Sets the size of the icons displayed in the Ribbon Bar.

Public Properties

Property Description
Public PropertyAllowMinimize Specify whether the ribbon bar is allowed to be minimized.
Public PropertyAllowQuickAccessCustomization Specifies whether to allow the Quick Access bar to be customized.
Public PropertyAllowQuickAccessDuplicates Specifies whether to allow duplicate items to be added to the quick access bar.
Public PropertyBarID Gets the ID of the Ribbon Bar.
Public PropertyBuiltIn Gets whether the Ribbon Bar is a built-in command bar or a command bar added by the user using the customize dialog.
Public PropertyClientHeight Gets or sets the client area height (area that does not contain the actual ribbon bar) when using a ribbon bar.
Public PropertyCommandBars Reference to the parent CommandBars object.
Public PropertyControlQuickAccess Quick Access menu control.
Public PropertyControls Gets the collection of controls in the Ribbon Bar.
Public PropertyControlSystemButton System button control.
Public PropertyDefaultButtonStyle Specifies the default style that will be applied to controls added to the Ribbon.
Public PropertyEnableAnimation Specifies whether to use animation effects in the Ribbon Bar.
Public PropertyFontHeight Gets/sets the font height used for drawing text in the Ribbon Bar.
Public PropertyGroupsHeight Gets or sets the height for ribbon groups.
Public PropertyGroupsVisible Gets/sets whether the groups in the ribbon bar are visible.
Public PropertyhWnd Returns the handle of the Ribbon Bar.
Public PropertyMinimized Gets/sets whether the ribbon bar is minimized.
Public PropertyMinimumVisibleWidth Minimum allowable width of the ribbon bar.
Public PropertyPosition Gets/Sets the position of the Ribbon Bar.
Public PropertyQuickAccessControls Collection of controls that are displayed in the Ribbon's Quick Access bar.
Public PropertyQuickAccessEmptyIconId Gets/sets the Id of the icon displayed in the Quick Access Toolbar for items that do not have an icon, such as a gallery control.
Public PropertyRibbonPaintManager RibbonPaintManager object is used to get and set the visual properties of the RibbonBar.
Public PropertySelectedControl Gets the currently selected control from the Ribbon Bar.
Public PropertySelectedTab Gets the currently selected TabControlItem in the ribbon bar.
Public PropertyShowCaptionAlways Specifies whether to always show the ribbon caption when EnableFrameTheme is False.
Public PropertyShowQuickAccess Specifies whether the quick access bar is displayed with the ribbon bar.
Public PropertyShowQuickAccessBelowRibbon Gets/sets whether the Quick Access bar is displayed above or below the Ribbon.
Public PropertySystemButton Reference to the RibbonBarSystemButton used by the ribbon.
Public PropertyTab Collection of tabs that have been added to the Ribbon Bar.
Public PropertyTabCount Returns the total number of tabs that have been added to the Ribbon Bar.
Public PropertyTabPaintManager Gets the paint manager properties used to draw the tabs in the Ribbon Bar.
Public PropertyTabsVisible Gets/sets whether the tabs in the ribbon bar are visible.
Public PropertyTitle Gets/Sets the title of the Ribbon Bar.
Public PropertyType Gets/Sets the type of the command bar.
Public PropertyVisible Gets/Sets a boolean value indicating whether the Ribbon Bar is visible.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.