BaseEdit.ContextMenu Property

Gets or sets the context menu for the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
public override ContextMenu ContextMenu { get; set; }
<Browsable(False)>
Public Overrides Property ContextMenu As ContextMenu

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