Back to Devexpress

InfiniteSource.CreateSource Event

wpf-devexpress-dot-xpf-dot-data-dot-infinitesource.md

latest1.4 KB
Original Source

InfiniteSource.CreateSource Event

Allows you to specify the source object that returns data.

Namespace : DevExpress.Xpf.Data

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public event EventHandler<CreateSourceEventArgs> CreateSource
vb
Public Event CreateSource As EventHandler(Of CreateSourceEventArgs)

Event Data

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

PropertyDescription
SourceGets or sets a source object that returns data.

Remarks

The code sample below shows how to specify the source object:

csharp
source.CreateSource += (o, e) => {
    e.Source = new IssuesContext();
};

See Also

InfiniteSource Class

InfiniteSource Members

DevExpress.Xpf.Data Namespace