xtrareports-devexpress-dot-xtrareports-dot-userdesigner-dot-xrdesignmdicontroller-0a549ec8.md
Provides access to the currently active Design Panel of the XRDesignMdiController.
Namespace : DevExpress.XtraReports.UserDesigner
Assembly : DevExpress.XtraReports.v25.2.Extensions.dll
NuGet Package : DevExpress.Win.Reporting
[Browsable(false)]
public XRDesignPanel ActiveDesignPanel { get; }
<Browsable(False)>
Public ReadOnly Property ActiveDesignPanel As XRDesignPanel
| Type | Description |
|---|---|
| XRDesignPanel |
An XRDesignPanel object, representing the active Design Panel.
|
Use the ActiveDesignPanel property, to obtain the properties of the currently active XRDesignPanel within an End-User Report Designer.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ActiveDesignPanel property.
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.
reporting-winforms-designer-override-commands/CS/CustomSavingEUD/Form1.cs#L33
form.ShowDialog();
if (mdiController.ActiveDesignPanel != null) {
mdiController.ActiveDesignPanel.CloseReport();
reporting-winforms-designer-override-commands/VB/CustomSavingEUD/Form1.vb#L39
form.ShowDialog()
If mdiController.ActiveDesignPanel IsNot Nothing Then
mdiController.ActiveDesignPanel.CloseReport()
See Also