The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRDesignBarManager.GetBarItemByCommand(CommandID) Method

Obsolete. Gets a bar item within the bar manager by its command.

Namespace: DevExpress.XtraReports.UserDesigner

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

Declaration

[Obsolete("The GetBarItemByCommand method is obsolete now. Use the GetBarItemsByReportCommand method instead.")]
public CommandBarItem GetBarItemByCommand(
    CommandID commandID
)
<Obsolete("The GetBarItemByCommand method is obsolete now. Use the GetBarItemsByReportCommand method instead.")>
Public Function GetBarItemByCommand(
    commandID As CommandID
) As CommandBarItem

Parameters

Name Type Description
commandID CommandID

A CommandID object which specifies the command to be executed by the bar item to find.

Returns

Type Description
DevExpress.XtraReports.UserDesigner.CommandBarItem

A DevExpress.XtraReports.UserDesigner.CommandBarItem object that represents the bar item which executes the specified command.

Remarks

The GetBarItemByCommand method is obsolete now. Use the XRDesignBarManager.GetBarItemsByReportCommand method instead.

See Also