Skip to main content
A newer version of this page is available. .

InfiniteSource.CreateSource Event

Allows you to specify the source object that returns data.

Namespace: DevExpress.Xpf.Data

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public event EventHandler<CreateSourceEventArgs> CreateSource

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();
};

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.

See Also