Skip to main content
A newer version of this page is available. .

BaseEdit.ContextMenu Property

Gets or sets the context menu for the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[Browsable(false)]
public override ContextMenu ContextMenu { get; set; }

Property Value

Type Description
ContextMenu

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

Remarks

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