XRDesignBarManager.GetBarItemsByReportCommand(ReportCommand) Method
Gets an array of bar items within the bar manager by their report command.
Namespace: DevExpress.XtraReports.UserDesigner
Assembly: DevExpress.XtraReports.v24.2.Extensions.dll
NuGet Package: DevExpress.Win.Reporting
#Declaration
public BarItem[] GetBarItemsByReportCommand(
ReportCommand command
)
#Parameters
Name | Type | Description |
---|---|---|
command | Report |
A Report |
#Returns
Type | Description |
---|---|
Bar |
An array of Bar |
#Remarks
Every End-User Designer command represents either a toolbar button, or a menu item, or both a button and a corresponding menu item in the End-User Designer window. This method searches for all the bar items which execute the specified command (or which are associated with it) and returns an array consisting of these items. If no bar items with the specified command are found, then an empty array will be returned.