Back to Devexpress

PivotFieldImageIndexEventArgs Class

windowsforms-devexpress-dot-xtrapivotgrid-26d2cea9.md

latest3.4 KB
Original Source

PivotFieldImageIndexEventArgs Class

Provides data for the PivotGridControl.FieldValueImageIndex event.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public class PivotFieldImageIndexEventArgs :
    PivotFieldValueEventArgs
vb
Public Class PivotFieldImageIndexEventArgs
    Inherits PivotFieldValueEventArgs

PivotFieldImageIndexEventArgs is the data class for the following events:

Remarks

The PivotGridControl.FieldValueImageIndex event allows you to display images within individual column and row areas.

An image can be assigned via the event’s PivotFieldImageIndexEventArgs.ImageIndex parameter. This represents the index of the required image within the PivotGridControl.ValueImages collection.

PivotFieldImageIndexEventArgs objects are automatically created, initialized and passed to PivotGridControl.FieldValueImageIndex event handlers.

Note

You cannot use the PivotFieldImageIndexEventArgs 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 PivotFieldImageIndexEventArgs.ThreadSafeArgs property to access event data. To learn more, see Asynchronous Mode.

Inheritance

Object EventArgs PivotFieldEventArgsBase<PivotGridField> PivotFieldValueEventArgsBase<PivotGridField> PivotFieldValueEventArgs PivotFieldImageIndexEventArgs

See Also

PivotFieldImageIndexEventArgs Members

DevExpress.XtraPivotGrid Namespace