The event handler receives an argument of type PivotFieldValueCancelEventArgs containing data related to this event.
The following
PivotFieldValueCancelEventArgs properties provide information specific to this event.
Property |
Description |
Cancel |
Gets or sets whether the field value can be expanded/collapsed. |
CustomTotal |
Gets the custom total which the currently processed column/row header corresponds to. |
Data |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
DataField |
Gets the Data Field that specifies the processed value. |
Field |
|
FieldIndex |
Gets the field position among the visible fields within the Header Area. |
IsCollapsed |
Gets whether the processed field value is collapsed. |
IsColumn |
Gets whether the field is displayed within the Column Header Area. |
IsOthersValue |
Gets or sets whether the current header corresponds to the "Others" row/column. |
Item |
|
MaxIndex |
Gets the maximum row index (for row fields) or column index (for column fields) that corresponds to the processed field value. |
MinIndex |
Gets the minimum row index (for row fields) or column index (for column fields) that corresponds to the processed field value. |
Value |
Gets the Column Field or Row Field value that corresponds to the currently processed column/row header. |
ValueType |
Gets the type of the currently processed header of a column or a row. |
The FieldValueExpanding event is raised when an end-user attempts to expand a field value. The field value can be identified using the event's DevExpress.XtraPivotGrid.PivotFieldEventArgsBase`1.Field parameter. If you need to prohibit field value expansion, set the PivotFieldValueCancelEventArgs.Cancel parameter to true.