Skip to main content
All docs
V25.1
  • CustomExportEventArgs.GetPrintableControl(String) Method

    Gets a printable control corresponding to the specified dashboard item.

    Namespace: DevExpress.DashboardCommon

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

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

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetPrintableControl(String) method.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also