dashboard-devexpress-dot-dashboardcommon-dot-customexporteventargs-97b14ecd.md
Gets printable controls corresponding to the exported dashboard items.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public Dictionary<string, XRControl> GetPrintableControls()
Public Function GetPrintableControls As Dictionary(Of String, XRControl)
| Type | Description |
|---|---|
| Dictionary<String, XRControl> |
A collection of printable controls corresponding to the exported dashboard items.
|
The following table illustrates dashboard items and their corresponding printable XRControls:
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetPrintableControls() 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.
public static void CustomExport(DashboardControl dashboardControl, CustomExportEventArgs e) {
Dictionary<string, XRControl> controls = e.GetPrintableControls();
foreach(var control in controls) {
void Designer_CustomExport(object sender, CustomExportEventArgs e) {
Dictionary<string, XRControl> controls = e.GetPrintableControls();
foreach(var control in controls) {
dashboard-constant-lines/CS/ConstantLineExtension.Win/ConstantLineModule.cs#L52
private void Win_CustomExport(object sender, DevExpress.DashboardCommon.CustomExportEventArgs e) {
Dictionary<string, XRControl> controls = e.GetPrintableControls();
foreach(var control in controls) {
{
foreach (var printControl in e.GetPrintableControls())
{
Public Shared Sub CustomExport(ByVal dashboardControl As DashboardControl, ByVal e As CustomExportEventArgs)
Dim controls As Dictionary(Of String, XRControl) = e.GetPrintableControls()
For Each control In controls
Private Sub Designer_CustomExport(ByVal sender As Object, ByVal e As CustomExportEventArgs)
Dim controls As Dictionary(Of String, XRControl) = e.GetPrintableControls()
For Each control In controls
Private Sub CustomExport(ByVal sender As Object, ByVal e As CustomExportEventArgs)
For Each printControl In e.GetPrintableControls()
If TypeOf printControl.Value Is XRChart Then
See Also