RowProperties.ImageIndex Property

Gets or sets the index of the image displayed within a row item header.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

[Browsable(false)]
[DefaultValue(-1)]
[XtraSerializableProperty]
[ImageList("Images")]
public int ImageIndex { get; set; }
<Browsable(False)>
<DefaultValue(-1)>
<XtraSerializableProperty>
<ImageList("Images")>
Public Property ImageIndex As Integer

Property Value

Type Default Description
Int32

-1

An integer value representing the zero-based index of the image displayed within a row item header.

Remarks

Use the ImageIndex property to specify the row header image for a row item. The source of these images is specified by the VGridControlBase.ImageList property. The ImageIndex property value is the index of the desired image within this image list.

RowProperties_ImageIndex

Assigning values to the ImageIndex property is not in effect if the VGridControlBase.CustomDrawRowHeaderCell event handler specifies a different row item image.

If the ImageIndex property is set to -1, no image is displayed.

See Also