Skip to main content
Bar

BarOptions Members

Provides customization options for a bar.

Constructors

Name Description
BarOptions() Initializes a new instance of the BarOptions class and sets its properties to default values.

Properties

Name Description
AllowCollapse Gets or sets whether a bar can be collapsed by double-clicking on the bar’s drag widget.
AllowDelete Gets whether the bar can be deleted via the Customization Window at runtime.
AllowQuickCustomization Gets or sets whether the toolbar displays a drop-down button that shows quick runtime customization options.
AllowRename Gets whether the bar can be renamed via the Customization Window at runtime.
AutoPopupMode Gets or sets which bar items are automatically popped-up when hovered over.
BarState Gets or sets whether the bar is collapsed or in its normal state.
DisableClose Gets or sets whether the bar can be closed/hidden by the end-user.
DisableCustomization Gets or sets whether the bar can be customized using drag-and-drop operations.
DistanceBetweenItems Gets or sets the distance between neighboring item links. If you want to set the same item distance for multiple bars, add a BarAndDockingController and set its PropertiesBar.DistanceBetweenItems property.
DrawBorder Gets or sets whether the current Bar should display its borders.
DrawDragBorder Gets or sets whether the bar can be dragged using the mouse.
DrawSizeGrip Gets or sets whether to display the size grip within the current status bar.
ExpandAnimationDuration Gets or sets the duration of the collapse/expand animation on double-clicking on the bar’s drag widget.
Hidden Gets or sets whether the bar is hidden in the Customization Window, customization menu and BarToolbarsListItem‘s list.
MinHeight Gets or sets the minimum height this Bar occupies.
MultiLine Gets or sets whether bar links are arranged into several lines when their total width exceeds the width of the bar.
RotateWhenVertical Gets or sets whether a bar links’ captions are rotated when the bar is vertically docked.
UseWholeRow Gets or sets whether the bar is stretched to match the container’s width.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as the parameter.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets all options to their default values. Inherited from BaseOptions.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.
See Also