Skip to main content

MarginsChangeEventHandler Delegate

A method that will handle the PrintingSystemBase.BeforeMarginsChange event of the PrintingSystem class.

Namespace: DevExpress.XtraPrinting

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

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


public delegate void MarginsChangeEventHandler(
    object sender,
    MarginsChangeEventArgs e


Name Type Description
sender Object

The event source.

e MarginsChangeEventArgs

A MarginsChangeEventArgs object that contains data related to the event.


When creating a MarginsChangeEventHandler delegate, identify a method that will handle corresponding events. To associate an event with an event handler, add a delegate instance to the event. The event handler is called whenever the event occurs, unless the delegate is removed.

For more information on event handler delegates, see Events and Delegates in MSDN.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MarginsChangeEventHandler delegate.


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