Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutViewCardCaptionImageEventArgs(Int32, Object, Int32, Image, Boolean) Constructor

In This Article

Initializes a new instance of the LayoutViewCardCaptionImageEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Layout.Events

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

public LayoutViewCardCaptionImageEventArgs(
    int rowHandle,
    object list,
    int imageIndex,
    Image image,
    bool imageVisible
)

#Parameters

Name Type Description
rowHandle Int32

An integer value which identifies the processed card. This value is assigned to the CardCaptionImageEventArgs.RowHandle property.

list Object

An object which represents the source of images. This value is assigned to the CardCaptionImageEventArgs.ImageList property.

imageIndex Int32

A zero-based integer specifying the image by its index within the source collection. -1, if no image is assigned to a visual element from the source collection. This value is assigned to the CardCaptionImageEventArgs.ImageIndex property.

image Image

A System.Drawing.Image object representing the image to be displayed within an element. This value is assigned to the CardCaptionImageEventArgs.Image property.

imageVisible Boolean

A Boolean value that specifies whether the image in the card’s caption is visible. This value is assigned to the LayoutViewCardCaptionImageEventArgs.CaptionImageVisible property.

See Also