Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IThreadSafeField Interface

When implemented, provides a read-only access to basic settings of a field.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public interface IThreadSafeField

#Remarks

Objects that implement the IThreadSafeField interface are used in event handlers that can be executed in a background thread, instead of PivotGridField instances. This is necessary because the PivotGridField class exposes dependency properties that cannot be accessed from a background thread safely. The IThreadSafeField implementing objects provides a read-only access to these properties, which is performed while avoiding the dependency properties mechanism.

Events can be handled in a background thread when PivotGridControl is in the asynchronous mode, or when an asynchronous operation is called in code. To learn more, see Asynchronous Mode.

To learn more about properties the PivotGridField class exposes, see PivotGridField.

See Also