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

how to change the cell behavior according to the binding object

1 Answer 34 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Weiqi
Top achievements
Rank 1
Weiqi asked on 03 Jul 2010, 10:58 AM
hello,

i want to change the cell's font color  according to the text displayed in the cell.  Due to silverlight don't  support data trigger, how to implement this requirement.


Suppose i  bind a instance of custom class to the cell and set the binding path to let cell display the text.



Thanks

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 05 Jul 2010, 06:25 AM
Hi Weiqi,

Please have a look at this online demo . There is source code available as well.

All the best,
Pavel Pavlov
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
Weiqi
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or