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

CustomExportEventArgs.GetPrintableControl(String) Method

Gets a printable control corresponding to the specified dashboard item.

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.Dashboard.Core

Declaration

public XRControl GetPrintableControl(
    string dashboardItemName
)

Parameters

Name Type Description
dashboardItemName String

A string that is the dashboard item’s component name.

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
See Also