Skip to main content

BaseEdit.ContextMenu Property

Gets or sets the context menu for the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public override ContextMenu ContextMenu { get; set; }

Property Value

Type Description

A System.Windows.Forms.ContextMenu object representing the context menu for the editor.


If you need to specify a context menu for the editor, use the RepositoryItem.ContextMenu property of its associated repository item.

The ContextMenu property overrides the base class property to hide it at design time and synchronize its value with the RepositoryItem.ContextMenu property of the corresponding repository item.

See Also