Skip to main content
Bar

BarLinkContainerItem.OptionsMultiColumn Property

Provides access to the settings of the multicolumn mode of displaying items in the current sub-menu.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Appearance")]
public OptionsMultiColumn OptionsMultiColumn { get; }

Property Value

Type Description
DevExpress.Utils.Menu.OptionsMultiColumn

An OptionsMultiColumn object that comprises the settings of the multicolumn mode.

Remarks

By setting the BarLinkContainerItem.MultiColumn property to True you can display items in the current sub-menu in multiple columns. The OptionsMultiColumn property provides access the settings that allow you to customize the multicolumn mode. For example, the BarLinkContainerItem.OptionsMultiColumn.ColumnCount property allows the number of columns to be specified.

If items in the sub-menu are divided into groups using headers (BarHeaderItem objects), you can override the multicolumn mode settings for the group of items below a particular header using the BarHeaderItem.MultiColumn and BarHeaderItem.OptionsMultiColumn properties.

Moreover, you can use the BarAndDockingController component to control multicolumn mode settings in a centralized way. The BarManagerProperties.OptionsMultiColumn property, accessible using the BarAndDockingController.PropertiesBar property, allows you specify multicolumn mode settings for all pop-up menus and sub-menus controlled by the BarManager (see BarManager.Controller). The settings provided using the current sub-menu’s OptionsMultiColumn property override these global settings.

See Also