Back to Devexpress

BarHeaderItem.OptionsMultiColumn Property

windowsforms-devexpress-dot-xtrabars-dot-barheaderitem-9dccbb88.md

latest3.5 KB
Original Source

BarHeaderItem.OptionsMultiColumn Property

Provides access to the settings of the multicolumn mode of displaying items below the current header.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
public OptionsMultiColumn OptionsMultiColumn { get; }
vb
<DXCategory("Appearance")>
Public ReadOnly Property OptionsMultiColumn As OptionsMultiColumn

Property Value

TypeDescription
DevExpress.Utils.Menu.OptionsMultiColumn

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

|

Remarks

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

The BarLinkContainerItem.OptionsMultiColumn and PopupMenu.OptionsMultiColumn properties provide access to multicolumn mode settings common to all items in sub-menus (BarSubItem objects) and pop-up menus (PopupMenu objects), respectively. The OptionsMultiColumn property overrides these setting for the items that follow the current BarHeaderItem.

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 OptionsMultiColumn property override these global settings.

See Also

MultiColumn

BarLinkContainerItem.OptionsMultiColumn

PopupMenu.OptionsMultiColumn

BarManagerProperties.OptionsMultiColumn

BarHeaderItem Class

BarHeaderItem Members

DevExpress.XtraBars Namespace