Skip to main content
All docs
V24.1

DashboardExporter.GetPrintableControl(Dashboard, String) Method

Gets a printable control corresponding to the specified dashboard item.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.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
PivotDashboardItem XRPivotGrid
RangeFilterDashboardItem (When CustomExportBaseEventArgs.ExportMode is SingleItem) XRChart
GaugeDashboardItem XRGaugeDashboardItem
TextBoxDashboardItem XRTextBox
See Also