Back to Devexpress

PivotCustomDrawHeaderAreaEventArgs.Area Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotcustomdrawheaderareaeventargs.md

latest3.1 KB
Original Source

PivotCustomDrawHeaderAreaEventArgs.Area Property

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public PivotArea Area { get; }
vb
Public ReadOnly Property Area As PivotArea

Property Value

TypeDescription
PivotArea

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

|

Available values:

NameDescription
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

PivotCustomDrawHeaderAreaEventArgs Class

PivotCustomDrawHeaderAreaEventArgs Members

DevExpress.XtraPivotGrid Namespace