Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#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