CreateAreaEventArgs.Data Property
In This Article
Gets or sets the object, which represents data for the area creation event.
Namespace: DevExpress.Xpf.Printing
Assembly: DevExpress.Xpf.Printing.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Object | A Object, which represents event data. |
#Examples
This example demonstrates how to use the SimpleLink class to print data from a non-hierarchical data source, by using the following approach.
- Create a DataTemplate for a single detail row and assign it to the SimpleLink.DetailTemplate property;
- Then, set the SimpleLink.DetailCount property to the total count of data rows in a data source;
- Handle the SimpleLink.CreateDetail event, and provide data for its CreateAreaEventArgs.Data parameter;
- Call the LinkBase.CreateDocument method to generate report pages.
See Also