XRDesignMdiController.SetCommandVisibility(ReportCommand, CommandVisibility) Method
Changes the visibility of the specified report command.
Namespace: DevExpress.XtraReports.UserDesigner
Assembly: DevExpress.XtraReports.v24.2.Extensions.dll
NuGet Package: DevExpress.Win.Reporting
#Declaration
public void SetCommandVisibility(
ReportCommand command,
CommandVisibility visibility
)
#Parameters
Name | Type | Description |
---|---|---|
command | Report |
A Report |
visibility | Command |
A Command |
#Remarks
Note
The Set
A report command can be associated with a toolbar button, a menu item, a context menu item, or a verb in the End-User Designer window.
To get the current visibility state of a report command, use the XRDesignMdiController.GetCommandVisibility method.