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 any of the specified commands.
Namespace: DevExpress.XtraReports.UserDesigner
Assembly: DevExpress.XtraReports.v24.1.Extensions.dll
NuGet Package: DevExpress.Win.Reporting
Declaration
[Obsolete("The SetCommandVisibility method is obsolete now. Use the XRDesignMdiController.SetCommandVisibility method instead.")]
public void SetCommandVisibility(
CommandID[] commands,
BarItemVisibility visibility
)
Parameters
Name | Type | Description |
---|---|---|
commands | CommandID[] | An array of CommandID objects specifying the commands 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