corelibraries-devexpress-dot-xtraprinting-dot-printingsystembase-0cca2e5f.md
Occurs on raising any PrintingSystem event that does not have the “Before” prefix in its name.
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public event ChangeEventHandler AfterChange
Public Event AfterChange As ChangeEventHandler
The AfterChange 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. |
The following events can be passed as a parameter with the AfterChange event.
| Event | EventName | InfoList.Name | InfoList.Value |
|---|---|---|---|
| PrintControl.BrickClick | BrickClick | Brick | A Brick class instance representing the event sender. |
| PrintControl.BrickMouseDown | BrickDown | Brick | A Brick class instance representing the event sender. |
| PrintControl.BrickMouseMove | BrickMove | Brick | A Brick class instance representing the event sender. |
| PrintControl.BrickMouseUp | BrickUp | Brick | A Brick class instance representing the event sender. |
For more information on handling events, see Consuming Events in MSDN.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AfterChange event.
Note
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.
ps.Links.AddRange(new object[] { componentLink });
ps.AfterChange += ps_AfterChange;
componentLink.Component = this;
ps.Links.AddRange(New Object() { componentLink })
AddHandler ps.AfterChange, AddressOf ps_AfterChange
componentLink.Component = Me
See Also