Back to Devexpress

Bar Properties

windowsforms-devexpress-dot-xtrabars-dot-bar-dot-underscore-properties.md

latest8.6 KB
Original Source

Bar Properties

Represents a Windows-like toolbar.

NameDescription
AccessibleDescriptionGets or sets the object’s description used by accessibility client applications.
AccessibleNameGets or sets the object’s name used by accessibility client applications.
AccessibleRoleGets or sets the object’s accessible role.
AppearanceSpecifies appearance settings for items in this bar in the normal state. This property is equivalent to the Normal property that you can access through the BarAppearance property.
AutoUpdateMergedBarsGets or sets whether items added to/removed from a child bar merged with this bar are automatically added to/removed from this bar.
BackColorObsolete. Gets or sets the background color of the Bar.
BackgroundImageObsolete. Gets or sets the background image of the Bar.
BarAppearanceSpecifies appearance settings for items in this bar in different states.
BarItemHorzIndentGets or sets the horizontal indent, in pixels, between a bar item link’s content and borders.
BarItemVertIndentGets or sets the vertical indent, in pixels, between a bar item link’s content and borders.
BarNameGets or sets the name of the bar.
CanDockStyleGets or sets a value specifying the manner in which a bar can be docked.
CanMoveGets a value indicating whether the Bar can be moved.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
CloseSubMenusOnMouseLeave
ContainerGets the IContainer that contains the Component. Inherited from Component.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DockColGets or sets the bar column index position when it is docked.
DockRowGets or sets the bar row index when it is docked.
DockStyleGets or sets the Bar dock style.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
FloatLocationGet or sets the Bar location in screen coordinates if the bar is floating.
FloatSizeGet or sets the size of the Bar in pixels if the bar is floating.
HideWhenMerging

Gets or sets whether the current child bar is hidden from the child form during a merge operation. This option is in effect if you subscribed to the parent BarManager’s BarManager.Merge and BarManager.UnMerge events.

| | IsFloating | Gets a value indicating whether the Bar is floating. | | IsLoading | Indicates that the Bar Manager is being loaded. | | IsMainMenu | Gets a value indicating whether the Bar is the application’s main menu. | | IsMerged | Gets whether another bar has been merged into the current bar. | | IsStatusBar | Gets a value indicating whether the bar is a status bar. | | ItemLinks | Gets the collection of item links belonging to the current bar. | | LinksPersistInfo | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. | | Manager | Gets or sets a value representing the Bar Manager that owns this bar. | | MergeSource | Gets the collection of item links that have been merged into the current bar. | | Offset | Gets or sets the offset in pixels from the left or top border of the bar container based on the dock style. | | Options | Obsolete. Gets or sets the options used to create a Bar. | | OptionsBar | Provides access to customization options for the current bar. | | Site | Gets or sets the ISite of the Component. Inherited from Component. | | Size | Gets the bar’s size. | | StandaloneBarDockControl | Gets or sets the StandaloneBarDockControl control to which the bar belongs, if any. | | StandaloneBarDockControlName | Gets or sets the name of the StandaloneBarDockControl control to which the bar belongs, if any. | | Tag | Gets or sets an object that contains custom data for the current Bar object. | | Text | Gets or sets the bar’s display text. | | Visible | Gets or sets a value indicating whether the Bar is displayed. | | VisibleLinks | Gets the collection of visible bar item links displayed within the bar. |

See Also

Bar Class

Bar Members

DevExpress.XtraBars Namespace