Skip to main content
A newer version of this page is available. .
All docs
V21.2

DashboardExporter.GetPrintableControl(Dashboard, String) Method

Gets a printable control corresponding to the specified dashboard item.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v21.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public XRControl GetPrintableControl(
    Dashboard dashboard,
    string dashboardItemName
)

Parameters

Name Type Description
dashboard Dashboard

A dashboard from which the dashboard item’s data is exported.

dashboardItemName String

The component name of the dashboard item.

Returns

Type Description
XRControl

A printable control corresponding to the specified dashboard item.

Remarks

The following table illustrates dashboard items and their corresponding printable XRControls:

Dashboard Item XRControl
ChartDashboardItem XRChart
ScatterChartDashboardItem XRChart
PieDashboardItem XRChart
RangeFilterDashboardItem (When CustomExportBaseEventArgs.ExportMode is SingleItem) XRChart
GaugeDashboardItem XRGaugeDashboardItem
TextBoxDashboardItem XRTextBox
See Also