PrintingSystemBase.BeforeChange Event

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

Namespace: DevExpress.XtraPrinting

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

Declaration

public event ChangeEventHandler BeforeChange

Event Data

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

Property Description
EventName Gets the event name that initiated a ChangeEvent.

The event data class exposes the following methods:

Method Description
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.

Event EventName InfoList.Name InfoList.Value
PrintingSystemBase.BeforeMarginsChange BeforeMarginsChange Side A string representing a margin side or "All" for all margin sides.

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

Implements

See Also