Skip to main content

RibbonControl.PopupShowMode Property

Gets or sets whether nested popup sub-menus are displayed in cascaded or inplace mode.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(PopupShowMode.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public PopupShowMode PopupShowMode { get; set; }

Property Value

Type Default Description
PopupShowMode Default

A PopupShowMode enumeration value that specifies how nested popup sub-menus are displayed.

Available values:

Name Description
Default

Specifies the same mode as the Inplace option if popup menus are managed by the RibbonControl displayed in the TabletOffice style (see RibbonControl.RibbonStyle). In other cases, specifies the same mode as the Classic option.

Classic

Nested popup sub-menus are displayed in the traditional cascaded style.

PopupShowMode_Cascaded

Inplace

Child sub-menus, when invoked, are displayed in place of their parent popup menus.

PopupShowMode_InPlace1

PopupShowMode_InPlace2

Remarks

The PopupShowMode property affects how popup sub-menus are displayed. The following modes are supported.

Value

Description

Default

Specifies the same mode as the Inplace option if the RibbonControl is displayed in the TabletOffice or OfficeUniversal style (see RibbonControl.RibbonStyle). In other Ribbon styles, specifies the same mode as the Classic option.

Classic

Nested popup sub-menus are displayed in the traditional cascaded style.

PopupShowMode_Cascaded

Inplace

Child sub-menus, when invoked, are displayed in place of their parent popup menus.

PopupShowMode_InPlace1

PopupShowMode_InPlace2

See Also