Skip to main content
A newer version of this page is available. .

XRDesignPanel.ComponentVisibility Property

Specifies the visibility of components (for instance, report data sources) within the Report Designer.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v19.1.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

Declaration

[DefaultValue(ComponentVisibility.ReportExplorer)]
public ComponentVisibility ComponentVisibility { get; set; }

Property Value

Type Default Description
ComponentVisibility **ReportExplorer**

A ComponentVisibility enumeration value.

Available values:

Name Description
None

The components are not displayed in the Report Designer.

ComponentTray

For internal use. The components are displayed in the Component Tray (no longer available in the Report Designer GUI).

ReportExplorer

The components are displayed in the Report Explorer.

Remarks

By default, the Report Explorer panel contains the Components node, which displays non-visual report components such as report data sources. To hide this node, set the ComponentVisibility property to ComponentVisibility.None.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ComponentVisibility property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also