Skip to main content

RowProperties.ImageIndex Property

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

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

[Browsable(false)]
[DefaultValue(-1)]
[EditorBrowsable(EditorBrowsableState.Never)]
[ImageList("Images")]
[XtraSerializableProperty]
public int ImageIndex { get; set; }

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