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

BaseEdit.ContextMenuStrip Property

Gets or sets a ContextMenuStrip associated with the current control

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Description
ContextMenuStrip

A ContextMenuStrip object that represents a shortcut menu associated with the current control.

Remarks

Custom menus can be assigned to editors using the ContextMenuStrip or RepositoryItem.ContextMenuStrip property.

We suggest you assign custom menus to editors using the RepositoryItem.ContextMenuStrip property which can be accessed via the editor’s BaseEdit.Properties object. The menu assigned to the RepositoryItem.ContextMenuStrip has a higher priority.

See Also