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

Initializes a new instance of the LayoutViewCardCaptionImageEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Layout.Events

Assembly: DevExpress.XtraGrid.v20.2.dll


public LayoutViewCardCaptionImageEventArgs(
    int rowHandle,
    object list,
    int imageIndex,
    Image image,
    bool imageVisible
Public Sub New(
    rowHandle As Integer,
    list As Object,
    imageIndex As Integer,
    image As Image,
    imageVisible As Boolean


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