XRDesignPanel.FindMenuCommand(CommandID) Method

Searches for the specified command ID.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v18.1.Extensions.dll

Declaration

public MenuCommand FindMenuCommand(
    CommandID cmdID
)
Public Function FindMenuCommand(
    cmdID As CommandID
) As MenuCommand

Parameters

Type Name Description
CommandID cmdID

An object of the CommandID type, identifying the command to be found.

Returns

Type Description
MenuCommand

A MenuCommand object, representing the command associated with the specified ID. Returns null (Nothing in Visual Basic) if no command is found.