Skip to main content

PagedSource.AreSourceRowsThreadSafe Property

Specifies whether retrieved elements are thread-safe.

Namespace: DevExpress.Xpf.Data

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool AreSourceRowsThreadSafe { get; set; }

Property Value

Type Description
Boolean

true, if elements retrieved by the source are thread-safe; otherwise, false.

Remarks

When fetching rows in a separate thread, it is not allowed to access them from the UI thread by default (the UI thread uses proxy objects instead).

Set the AreSourceRowsThreadSafe property to true to use real rows.

Use this property only if accessing properties from the UI thread does not call parallel fetching rows in the working thread.

Refer to the following topic for more information: Bind the WPF Data Grid to any Data Source with Virtual Sources.

See Also