windowsforms-devexpress-dot-xtrapivotgrid-04dbd18b.md
Provides data for the PivotGridControl.CustomDrawEmptyArea event.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.XtraPivotGrid.v25.2.dll
NuGet Package : DevExpress.Win.PivotGrid
public class PivotCustomDrawEventArgs :
EventArgs
Public Class PivotCustomDrawEventArgs
Inherits EventArgs
PivotCustomDrawEventArgs is the data class for the following events:
The PivotCustomDrawEventArgs class serves as a base for classes that provide information for custom drawing events. It provides common information which is required to custom paint an element of a PivotGridControl. This includes the element’s bounding rectangle, its appearance settings and the object which provides painting facilities.
The PivotCustomDrawEventArgs.Handled property specifies whether default painting is required. If it’s set to true within a handler default painting will be cancelled. Otherwise, any custom painting performed within an event handler will be overridden by the Pivot Grid Control’s standard drawing.
Note
You cannot use the PivotCustomDrawEventArgs 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 PivotCustomDrawEventArgs.ThreadSafeArgs property to access event data. To learn more, see Asynchronous Mode.
Object EventArgs PivotCustomDrawEventArgs PivotCustomDrawFieldHeaderEventArgs
PivotCustomDrawFieldValueEventArgs
PivotCustomDrawHeaderAreaEventArgs
See Also