Back to Devexpress

RibbonControl.PopupShowMode Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-8bafe043.md

latest3.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(PopupShowMode.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public PopupShowMode PopupShowMode { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(PopupShowMode.Default)>
<XtraSerializableProperty>
Public Property PopupShowMode As PopupShowMode

Property Value

TypeDefaultDescription
PopupShowModeDefault

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

|

Available values:

NameDescription
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.

| | Inplace |

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

|

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.

| |

Inplace

|

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

|

See Also

RibbonStyle

PopupMenu.ShowNavigationHeader

BarCustomContainerItem.ShowNavigationHeader

BarCustomContainerItemLink.ShowNavigationHeader

PopupShowMode

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace