Skip to main content

CustomExportEventArgs.GetPrintableControl(String) Method

Gets a printable control corresponding to the specified dashboard item.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v22.1.Core.dll

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