A newer version of this page is available. Switch to the current version.

PrintControl.DockManager Property

Provides access to the DockManager, specifying the settings of dock panels in Print Preview.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v18.2.dll


public DockManager DockManager { get; }
Public ReadOnly Property DockManager As DockManager

Property Value

Type Description

A DockManager object.


This example demonstrates how dock panels can be obtained in a report's preview via the PrintControl.DockManager property.

XtraReport1 report = new XtraReport1();
ReportPrintTool tool = new ReportPrintTool(report);
tool.PreviewForm.Shown += PreviewForm_Shown;
// ...

void PreviewForm_Shown(object sender, EventArgs e) {
    PrintPreviewFormEx previewForm = sender as PrintPreviewFormEx;
    DevExpress.XtraBars.Docking.DockPanel paramsPanel = previewForm.PrintControl.DockManager[1];
See Also