Version

RowSelectorImages Property

Gets the RowSelectorImageInfo object containing the state-specific row selector images.
Syntax
'Declaration
 
Public ReadOnly Property RowSelectorImages As RowSelectorImageInfo
public RowSelectorImageInfo RowSelectorImages {get;}
Example
Demonstrates how to set the image properties on the RowSelectorImageInfo class

Private Sub BtnSetImages_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSetImages.Click
    Me.UltraGrid1.DisplayLayout.RowSelectorImages.ActiveAndAddNewRowImage = Image.FromFile("activeAddNewImage.jpg")
    Me.UltraGrid1.DisplayLayout.RowSelectorImages.ActiveAndDataChangedImage = Image.FromFile("activeModifiedImage.jpg")
    Me.UltraGrid1.DisplayLayout.RowSelectorImages.ActiveRowImage = Image.FromFile("activeImage.jpg")
    Me.UltraGrid1.DisplayLayout.RowSelectorImages.AddNewRowImage = Image.FromFile("newImage.jpg")
    Me.UltraGrid1.DisplayLayout.RowSelectorImages.DataChangedImage = Image.FromFile("modifiedImage.jpg")
End Sub
private void btnSetImages_Click(object sender, EventArgs e)
{
    this.ultraGrid1.DisplayLayout.RowSelectorImages.ActiveAndAddNewRowImage = Image.FromFile("activeAddNewImage.jpg");
    this.ultraGrid1.DisplayLayout.RowSelectorImages.ActiveAndDataChangedImage = Image.FromFile("activeModifiedImage.jpg");
    this.ultraGrid1.DisplayLayout.RowSelectorImages.ActiveRowImage = Image.FromFile("activeImage.jpg");
    this.ultraGrid1.DisplayLayout.RowSelectorImages.AddNewRowImage = Image.FromFile("newImage.jpg");
    this.ultraGrid1.DisplayLayout.RowSelectorImages.DataChangedImage = Image.FromFile("modifiedImage.jpg");
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also