Skip to main content
A newer version of this page is available. .

Bar Properties

Represents a Windows-like toolbar.
Name Description
Appearance Specifies appearance settings for the bar.
BackColor Obsolete. Gets or sets the background color of the Bar.
BackgroundImage Obsolete. Gets or sets the background image of the Bar.
BarAppearance Provides appearance settings used to paint BarItemLinks within the current Bar in different visual states.
BarItemHorzIndent Gets or sets a value specifying the size of the horizontal indent between a link’s border and its content, in pixels.
BarItemVertIndent Gets or sets a value specifying the size of the vertical indent between the link’s borders and their content, in pixels.
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.
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