Hello,
i am referencing the following post:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=4791
to turn off the focus rectangle for a row when it is activate. For several rows in the grid, i have set thier back color and forecolor to different colors based on information in that row. however, now when i click on one of those rows, no focus rectangle is drawn, but the back color is made to white and forcolor is black (im guessing the default). How can i make it so the back and fore colors are retained but no focus rectangle is drawn. I am attempting to make it appear that no row is ever selected. Thanks for any replies.
-Chris
Hello Chris,
Maybe one possible approach to achieve desired behavior is by using grid property "ActiveAppearanceEnabled = DefaultableBoolean.False"
private void ultraGrid1_InitializeLayout(object sender, InitializeLayoutEventArgs e){ e.Layout.Override.ActiveAppearancesEnabled = DefaultableBoolean.False; e.Layout.Override.SelectedAppearancesEnabled = DefaultableBoolean.False;}
Georgi,
That worked beautifully, and no DrawFilter code required!!! That is great! Thanks for your response!