Back to Devexpress

PivotCustomDrawHeaderAreaEventArgs Class

windowsforms-devexpress-dot-xtrapivotgrid-6ff9ada4.md

latest2.9 KB
Original Source

PivotCustomDrawHeaderAreaEventArgs Class

Provides data for the PivotGridControl.CustomDrawFieldHeaderArea event.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public class PivotCustomDrawHeaderAreaEventArgs :
    PivotCustomDrawEventArgs
vb
Public Class PivotCustomDrawHeaderAreaEventArgs
    Inherits PivotCustomDrawEventArgs

PivotCustomDrawHeaderAreaEventArgs is the data class for the following events:

Remarks

The PivotGridControl.CustomDrawFieldHeaderArea event fires before the header area is painted and allows you to paint it manually. The PivotCustomDrawHeaderAreaEventArgs class provides settings which are common to all custom painting events (bounds, appearance settings, etc.) and introduces the PivotCustomDrawHeaderAreaEventArgs.Area property which identifies the area currently being painted.

Note

You cannot use the PivotCustomDrawHeaderAreaEventArgs class members to access event data while an asynchronous operation is being performed. Use the pivot grid’s IThreadSafeAccessible.IsAsyncInProgress property to determine whether an operation is in progress. If this property returns true , use a thread-safe event parameter returned by the PivotCustomDrawHeaderAreaEventArgs.ThreadSafeArgs property to access event data. To learn more, see Asynchronous Mode.

Inheritance

Object EventArgs PivotCustomDrawEventArgs PivotCustomDrawHeaderAreaEventArgs

See Also

PivotCustomDrawHeaderAreaEventArgs Members

DevExpress.XtraPivotGrid Namespace