Back to Devexpress

XRDesignMdiController.GetCommandVisibility(ReportCommand) Method

xtrareports-devexpress-dot-xtrareports-dot-userdesigner-dot-xrdesignmdicontroller-dot-getcommandvisibility-x28-devexpress-dot-xtrareports-dot-userdesigner-dot-reportcommand-x29.md

latest2.5 KB
Original Source

XRDesignMdiController.GetCommandVisibility(ReportCommand) Method

Gets the visibility state of the specified report command.

Namespace : DevExpress.XtraReports.UserDesigner

Assembly : DevExpress.XtraReports.v25.2.Extensions.dll

NuGet Package : DevExpress.Win.Reporting

Declaration

csharp
public CommandVisibility GetCommandVisibility(
    ReportCommand command
)
vb
Public Function GetCommandVisibility(
    command As ReportCommand
) As CommandVisibility

Parameters

NameTypeDescription
commandReportCommand

A ReportCommand enumeration value, which specifies the command whose visibility is to be determined.

|

Returns

TypeDescription
CommandVisibility

A CommandVisibility enumeration value, which represents the visibility state of the report command.

|

Remarks

In the End-User Designer, every report command is represented by a toolbar button, a menu item, a context menu item, or a context link.

The GetCommandVisibility method allows you to determine the current visibility state of a report command.

To change the visibility of the specified report command, use the XRDesignMdiController.SetCommandVisibility method.

See Also

SetCommandVisibility

XRDesignMdiController Class

XRDesignMdiController Members

DevExpress.XtraReports.UserDesigner Namespace