PagedSource.CreateSource Event
Allows you to specify the source object that returns data.
Namespace: DevExpress.Xpf.Data
Assembly: DevExpress.Xpf.Core.v19.2.dll
Declaration
Event Data
The CreateSource event's data class is CreateSourceEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Source | Gets or sets a source object that returns data. |
Remarks
The code sample below shows how to specify the source object:
source.CreateSource += (o, e) => {
e.Source = new IssuesContext();
};
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateSource 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.