IThreadSafeField Interface

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

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll

Declaration

public interface IThreadSafeField
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