CommandPopupMenu<T>.EnableMenuItem(T) Method

Find a menu item specified by its Id and enable it.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v20.2.dll


public void EnableMenuItem(
    T id
Public Sub EnableMenuItem(
    id As T


Name Type Description
id T

An object serving as a menu identifier.


The EnableMenuItem method searches for menu items recursively. After a menu item is found, its DXMenuItem.Enabled property is set to true.

See Also