Obsolete; the event is not raised.
public event MarginsChangeEventHandler AfterMarginsChange
Public Event AfterMarginsChange As MarginsChangeEventHandler
The AfterMarginsChange event's data class is MarginsChangeEventArgs. The following properties provide information specific to this event:
|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.
Related GitHub Examples
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.