Skip to main content

WindowsFormsSettings.PopupMenuStyle Property

Gets or sets whether the DevExpess controls’ built-in context menus are displayed in the classic rectangular or radial style. This is a static property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public static PopupMenuStyle PopupMenuStyle { get; set; }

Property Value

Type Description
DevExpress.XtraEditors.Controls.PopupMenuStyle

A PopupMenuStyle enumeration value that specifies the style in which built-in context menus are displayed.

Remarks

The static PopupMenuStyle property allows you to specify the default style in which the DevExpess controls’ built-in context menus are displayed. The PopupMenuStyle enumeration provides the following values:

Value

Description

Default and Classic

Popup menus are displayed in the traditional rectangular style. The following image shows the RichEditControl‘s context menu displayed in the Classic style.

PopupMenuStyle_RichEditClassicContextMenu

Radial

Popup menus are displayed as radial menus (see RadialMenu). The following image shows the same context menu displayed in the Radial style.

PopupMenuStyle_RichEditRadialContextMenu

Items in radial menus are regrouped and disabled items are automatically hidden to decrease the number of items in menus that are too large. You can also manage item display in radial menus with the DXMenuItem.Priority setting.

See Also