Skip to main content
Bar

PopupMenu.OptionsMultiColumn Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Description
DevExpress.Utils.Menu.OptionsMultiColumn

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

Remarks

By setting the PopupMenu.MultiColumn property to True you can display items in the current PopupMenu 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.

If items in the pop-up 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 pop-up menu’s OptionsMultiColumn property override these global settings.

See Also