Skip to main content

Bar Properties

Represents a Windows-like toolbar.
Name Description
AccessibleDescription Gets or sets the object’s description used by accessibility client applications.
AccessibleName Gets or sets the object’s name used by accessibility client applications.
AccessibleRole Gets or sets the object’s accessible role.
Appearance Specifies 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.
AutoUpdateMergedBars Gets or sets whether items added to/removed from a child bar merged with this bar are automatically added to/removed from this bar.
BackColor Obsolete. Gets or sets the background color of the Bar.
BackgroundImage Obsolete. Gets or sets the background image of the Bar.
BarAppearance Specifies appearance settings for items in this bar in different states.
BarItemHorzIndent Gets or sets the horizontal indent, in pixels, between a bar item link’s content and borders.
BarItemVertIndent Gets or sets the vertical indent, in pixels, between a bar item link’s content and borders.
BarName Gets or sets the name of the bar.
CanDockStyle Gets or sets a value specifying the manner in which a bar can be docked.
CanMove Gets a value indicating whether the Bar can be moved.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CloseSubMenusOnMouseLeave
Container Gets the IContainer that contains the Component. Inherited from Component.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DockCol Gets or sets the bar column index position when it is docked.
DockRow Gets or sets the bar row index when it is docked.
DockStyle Gets or sets the Bar dock style.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
FloatLocation Get or sets the Bar location in screen coordinates if the bar is floating.
FloatSize Get 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