Skip to main content

PrintingSystemBase.AfterMarginsChange Event

Obsolete; the event is not raised.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v23.1.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public event MarginsChangeEventHandler AfterMarginsChange

Event Data

The AfterMarginsChange event's data class is MarginsChangeEventArgs. The following properties provide information specific to this event:

Property Description
Side Gets changed page margins.
Value Gets or sets the changed margin size in hundredths of an inch.


Anchored controls are automatically adjusted and the document is recreated each time you do any changes in the print preview. Therefore, the AfterMarginsChange and PageSettingsChanged events no longer occur.

You can set the PreviewOptions.SyncWithReportPageSettings property to Never to revert to the previous behavior.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AfterMarginsChange event.


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