Skip to main content

PivotCustomDrawHeaderAreaEventArgs.Area Property

Gets a value which specifies the header area currently being painted.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v23.2.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public PivotArea Area { get; }

Property Value

Type Description
PivotArea

A PivotArea enumeration value which specifies the header area currently being painted.

Available values:

Name Description
RowArea

Corresponds to the Row Header Area.

ColumnArea

Corresponds to the Column Header Area.

FilterArea

Corresponds to the Filter Header Area.

DataArea

Corresponds to the Data Header Area.

Remarks

Note

If you try to access the Area property while an asynchronous operation is being performed, an exception will be thrown. When the operation is in progress, use the PivotCustomDrawHeaderAreaThreadSafeEventArgs.Area property exposed by a thread-safe event parameter instead. To access the thread-safe event parameter, use the PivotCustomDrawHeaderAreaEventArgs.ThreadSafeArgs property. To determine whether an asynchronous operation is being performed, use the pivot grid’s IThreadSafeAccessible.IsAsyncInProgress property. For more information, see Asynchronous Mode.

For more information on header areas, see the Header Area topic.

See Also