Skip to main content

CustomExportWebEventArgs.GetPrintableControl(String) Method

Gets a printable control corresponding to the specified dashboard item.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v24.1.Web.dll

NuGet Package: DevExpress.Web.Dashboard.Common

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