CommandPopupMenu<T>.RemoveMenuItem(T) Method

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

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v20.2.dll


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


Name Type Description
id T

An object serving as a menu identifier.


The RemoveMenuItem method searches for menu items recursively. After a menu item is found, it is removed from the collection.

See Also