Back to Devexpress

PivotCustomDrawFieldValueEventArgs Members

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotcustomdrawfieldvalueeventargs-dot-underscore-members.md

latest8.9 KB
Original Source

PivotCustomDrawFieldValueEventArgs Members

Provides data for the PivotGridControl.CustomDrawFieldValue event.

Constructors

NameDescription
PivotCustomDrawFieldValueEventArgs(IThreadSafeAccessible, PivotFieldsAreaCellViewInfo, PivotHeaderObjectInfoArgs, ViewInfoPaintArgs, PivotHeaderObjectPainter, MethodInvoker)Initializes a new instance of the PivotCustomDrawFieldValueEventArgs class.

Fields

NameDescription
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
AppearanceGets the painted element’s appearance settings. Inherited from PivotCustomDrawEventArgs.
AreaGets the header area where the field is displayed.
BoundsGets the bounding rectangle of the painted element. Inherited from PivotCustomDrawEventArgs.
CustomTotalGets the custom total which the currently processed column/row header corresponds to.
DisplayTextGets the display text of the header currently being painted.
FieldGets the field whose value is to be painted.
FieldIndexGets the field’s position among the visible fields within the header area.
GraphicsGets an object used to paint an element. Inherited from PivotCustomDrawEventArgs.
GraphicsCacheGets an object which specifies the storage for the most used pens, fonts and brushes. Inherited from PivotCustomDrawEventArgs.
HandledGets or sets whether an event was handled, if it was handled the default actions are not required. Inherited from PivotCustomDrawEventArgs.
InfoGets an object which provides the information required to paint a field value.
IsOthersValueGets whether the current header corresponds to the “Others” row/column.
MaxIndexGets the maximum row index (for row fields) or column index (for column fields) that corresponds to the field value currently being processed.
MinIndexGets the minimum row index (for row fields) or column index (for column fields) that corresponds to the field value currently being processed.
PainterGets the painter object that provides the default element painting mechanism.
ThreadSafeArgsGets an event parameter that provides thread-safe access to event data.
ValueGets the value of the column field or row field which the currently processed column/row header corresponds to.
ValueTypeGets the type of the currently processed column/row header.

Methods

NameDescription
DefaultDraw()Performs default painting of an element. Inherited from PivotCustomDrawEventArgs.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetCellValue(Int32, Int32)Returns a value displayed in the specified cell.
GetFieldValue(PivotGridField, Int32)Returns the specified column or row field’s value for the cell addressed by its zero-based index in the Data Area.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetHigherLevelFields()Returns the parent field(s) for the field value being currently processed.
GetHigherLevelFieldValue(PivotGridField)Returns the value of a specific parent field corresponding to the field value currently being processed.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

PivotCustomDrawFieldValueEventArgs Class

DevExpress.XtraPivotGrid Namespace