XRDesignBarManager.SetCommandVisibility(CommandID, BarItemVisibility) Method

OBSOLETE

The SetCommandVisibility method is obsolete now. Use the SetCommandVisibility method instead.

Changes the visibility of any bar item which executes the specified command.

Namespace: DevExpress.XtraReports.UserDesigner

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

Declaration

[Obsolete("The SetCommandVisibility method is obsolete now. Use the XRDesignMdiController.SetCommandVisibility method instead.")]
public void SetCommandVisibility(
    CommandID commandID,
    BarItemVisibility visibility
)

Parameters

Name Type Description
commandID CommandID

A CommandID object specifying the command whose visibility needs to be changed.

visibility BarItemVisibility

One of the BarItemVisibility enumeration’s values that specifies the new visibility state.

Remarks

The SetCommandVisibility method is obsolete now. Use the XRDesignPanel.SetCommandVisibility method instead.

See Also