dashboard-devexpress-dot-dashboardweb-dot-customexportwebeventargs-950e3ce6.md
Gets printable controls corresponding to the exported dashboard items.
Namespace : DevExpress.DashboardWeb
Assembly : DevExpress.Dashboard.v25.2.Web.dll
NuGet Package : DevExpress.Web.Dashboard.Common
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(CustomExportWebEventArgs e) {
Dictionary<string, XRControl> controls = e.GetPrintableControls();
foreach(var control in controls) {
web-forms-dashboard-gauge-ranges/CS/Default.aspx.cs#L30
const string CustomPropertyName = "GaugeRanges";
Dictionary<string, XRControl> controls = e.GetPrintableControls();
public static void CustomExport(CustomExportWebEventArgs e) {
Dictionary<string, XRControl> controls = e.GetPrintableControls();
foreach(var control in controls) {
dashboard-constant-lines/CS/ConstantLineExtension.Web/ConstantLineModule.cs#L64
{
Dictionary<string, XRControl> controls = e.GetPrintableControls();
foreach (var control in controls)
public static void CustomExport(CustomExportWebEventArgs e) {
Dictionary<string, XRControl> controls = e.GetPrintableControls();
foreach(var control in controls) {
Public Sub CustomExport(ByVal e As CustomExportWebEventArgs)
Dim controls As Dictionary(Of String, XRControl) = e.GetPrintableControls()
For Each control In controls
See Also
CustomExportWebEventArgs Class