Back to Devexpress

PrintingSystemBase.BeforeChange Event

corelibraries-devexpress-dot-xtraprinting-dot-printingsystembase-ab771d3e.md

latest2.7 KB
Original Source

PrintingSystemBase.BeforeChange Event

Occurs on raising any PrintingSystem event that has the “Before” prefix in its name.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public event ChangeEventHandler BeforeChange
vb
Public Event BeforeChange As ChangeEventHandler

Event Data

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

PropertyDescription
EventNameGets the event name that initiated a ChangeEvent.

The event data class exposes the following methods:

MethodDescription
Add(String, Object)Initializes a new instance of the DevExpress.XtraPrinting.ChangeEventArgs.EventInfo class with the specified name and value and adds it to the collection.
ValueOf(String)Returns an object, containing information about the event with the specified name.

Remarks

The following events can be passed as a parameter with the BeforeChange event.

EventEventNameInfoList.NameInfoList.Value
PrintingSystemBase.BeforeMarginsChangeBeforeMarginsChangeSideA string representing a margin side or “All” for all margin sides.

For more information on handling events, see Consuming Events in MSDN.

Implements

BeforeChange

See Also

PrintingSystemBase.AfterChange

BeforeChange

IPrintingSystem.AfterChange

PrintingSystemBase Class

PrintingSystemBase Members

DevExpress.XtraPrinting Namespace