Skip to content

CommandBarsOptions Object Members

See Also

CommandBarsOptions Overview

See Also Command Bars ActiveX Control v24.0

Public Methods

Public Method AddHiddenCommand
Public Method GetIconHeight
Public Method GetIconWidth
Public Method GetPopupIconHeight
Public Method GetPopupIconWidth
Public Method IsDPIScallingEnabled
Public Method RemoveHiddenCommands
Public Method SetDPIScallingOptions
Public Method SetIconSize
Sets the icon size. SetIconSize can be used to set the normal icon size and the icon size when large icons are used.
Public Method SetPopupIconSize
Adds the specified command as a hidden command, i.e., an infrequently used command.

Removes all commands marked as hidden, i.e., an infrequently used command.

Sets the size of icons displayed in popup menus.

Public Properties

Public Property AltDragCustomization
Gets/Sets whether the command bar can be customized during runtime while the Alt key is pressed.

Public Property AlwaysShowFullMenus
Gets/Sets whether full menus are shown irrespective of any hidden commands that might be present.

Public Property Animation
Gets/Sets animation for the command bar.

Public Property AutoHideUnusedPopups
AutoHideUnusedPopups property specifies whether unused popups will be hidden (i.e., an infrequently used menu).

Public Property ComboBoxFont
Gets/Sets the font used to display text in the CommandBarsComboBox control.

Public Property ExpandDelay
Specifies the amount of time it takes for a Popup Menu to fully expand when there are hidden items in the menu.

Public Property ExpandHoverDelay
Specifies the amount of time it takes for a Popup Menu to fully expand when the mouse cursor is "hovering" over the expand button chevron at the bottom of the menu.

Public Property FloatingBarCaptionFont
Gets/Sets the font that is used to display the caption of a floating toolbar.

Public Property FloatToolbarsByDoubleClick
FloatToolbarsByDoubleClick property specifies whether toolbars can float by double-clicking on them.

Public Property Font
Gets/Sets the font used to display text in the CommandBars.

Public Property IconsWithShadow
Gets/Sets whether icon shadows should be used.

Public Property KeyboardCuesShow
ShowKeyboardCues property is used to specify when to underline the character in menu items that indicates a shortcut key is available. These are the underlined characters used for keyboard navigation commonly called "Access Keys".

Public Property KeyboardCuesUse
KeyboardCuesUse property specifies how to execute keyboard shortcuts for items that have underlined characters used for keyboard navigation commonly called "Access Keys".

Public Property LargeIcons
Gets/Sets whether large icons are to be used.

Public Property LunaColors
Gets/Sets whether luna colors are being used.

Public Property MaxPopupWidth
MaxPopupWidth property specifies the maximum width of popup menus.

Public Property OfficeStyleDisabledIcons
Enables/disables Office 2003 style disabled icons.

Public Property ShowContextMenuAccelerators
Specifies whether to display accelerators/shortcut keys in context menus.

Public Property ShowExpandButtonAlways
Gets/Sets whether the toolbar expand/customize chevron button is to be shown at the end of the toolbar(s).

Public Property ShowFullAfterDelay
Gets/Sets whether full menus are shown after a small delay.

Public Property ShowKeyboardTips
Specifies whether to display keyboard tips when the Alt key is pressed.

Public Property ShowMiniToolbarTips
Gets/Sets whether tooltips are shown for controls that appear in a popup menu.

Public Property ShowPopupBarToolTips
ShowPopupBarToolTips property is used to indicate whether tool tips will be displayed for controls that appear in a popup menu.

Public Property ShowPopupButtonsSelectedToolbarOnly
Gets/Sets whether popup buttons are shown only for the selected toolbar.

Public Property ShowTextBelowIcons
Shows the caption below the control's icon.

Public Property SyncActiveFloatingFrames
The SyncActiveFloatingFrames property specifies whether floating panes will appear active.

Public Property SyncFloatingToolbars
SyncFloatingToolbars property specifies whether floating toolbars will be hidden when the application does not have focus.

Public Property ToolBarAccelTips
Gets/Sets whether accelerator tool tips are shown for controls.

Public Property ToolBarScreenTips
Gets/Sets whether tooltips are shown for controls.

Public Property UpdatePeriod
Specifies the amount of time in milliseconds that the command bars update period is set to. By default, the update period is set to 100ms.

Public Property UseAltNumPadKeys
Specifies whether the number keys from the number pad on the keyboard can be used to activate hotkeys in top-level menu items.

Public Property UseDisabledIcons
Gets/Sets whether disabled icons are to be used.

Public Property UseFadedIcons
Gets/Sets whether faded icons are to be used.

Public Property UseSharedImageList
Gets/Sets whether shared image lists are to be used.

Public Property UseSystemSaveBitsStyle
Determines whether to use the CS_SAVEBITS class style for displaying popups and shadows.

Public Property VSStateColor
Color value for Visual Studio 2015 (and above) state color, usually applied to frame border and status bar.

Public Property WrapLargePopups
Specifies whether to automatically wrap large popup menus if the height of the popup will exceed the height of the screen.

See Also

CommandBarsOptions Overview


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