Reputation: 1581
I have a row that I activated via code. However, I need it to be highlighted as well, but can't seem to find the correct property to set. How can I do this via C#?
Upvotes: 1
Views: 4984
Reputation: 572
I think the following solution should work for you:
ultraGrid1.DisplayLayout.Override.ActiveRowAppearance.BackColor = Color.IndianRed;
ultraGrid1.Rows[0].Activate(); //programatically set active row
ultraGrid1.Selected.Rows.Clear(); //clear your selection of previous row
Upvotes: 1
Reputation: 789
You can change the appearance of the active row through the ActiveRowAppearance
Upvotes: 1