RowProperties.ImageIndex Property
Gets or sets the index of the image displayed within a row item header.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v19.1.dll
Declaration
[Browsable(false)]
[DefaultValue(-1)]
[XtraSerializableProperty]
[ImageList("Images")]
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.
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImageIndex property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.