Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PrintRibbonController.GetBarItemByCommand(PrintingSystemCommand) Method

Gets a bar item within the Ribbon Control by its command.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v24.2.dll

NuGet Package: DevExpress.Win.Printing

#Declaration

public BarItem GetBarItemByCommand(
    PrintingSystemCommand command
)

#Parameters

Name Type Description
command PrintingSystemCommand

A PrintingSystemCommand enumeration value which specifies the command to be executed by the bar item to be found.

#Returns

Type Description
BarItem

A BarItem object that represents the bar item which executes the specified command.

See Also