This is a migrated thread and some comments may be shown as answers.

Binding Row Colour?

1 Answer 16 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 26 Apr 2011, 04:13 PM
I am binding my GridView to a collection of Entities. Each entity contains a property called Colour... I am trying to make each row the colour of the entities property but I can't figure out which property should be bound.

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 26 Apr 2011, 04:33 PM
Hello Brandon,

You may use a RowStyleSelector as demonstrated in our online documentation and demos. In you case  you may verify the value of your color property and define such styles in xaml. 
Please let me know in case you need any further assistance.

Best wishes,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Brandon
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or