Infragistics(R) NetAdvantage(R) Windows Forms
DataChangedImage Property
See Also  Example E-mail your feedback on this topic.
Infragistics.Win.UltraWinGrid Namespace > RowSelectorImageInfo Class : DataChangedImage Property

Gets or sets the user-specified Row Selector image used when the row's data has been modified.

Syntax

Visual Basic (Declaration) 
Public Property DataChangedImage As Image
C# 
public Image DataChangedImage {get; set;}

Example

Demonstrates how to set the image properties on the RowSelectorImageInfo class

Visual BasicCopy Code
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
C#Copy Code
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");
}

See Also