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

Ellipse colored based on a value in a gridview

1 Answer 6 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 04 Oct 2012, 02:22 PM
Hello,
I need to show a green/yellow/red circle on each row of a RadGridView based on the fact a particular value is below, near, up another value... since I don't want to put a static image I've tried setting Fill with {Binding} but I got an exception....for what I've read I should use MultiBindings (I'm on SL 5) but again...I got no luck... Is there any Telerik Control I can use out of the box? or otherwise someone can share a snippet of code?
Thanks

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 08 Oct 2012, 07:58 AM
Hello Paolo ,

The recommended way would be to provide separate cell templates with the relevant geometry inside . Then based on the value, you may switch between the templates using a CellTemplateSelector

All the best,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
General Discussions
Asked by
Michele
Top achievements
Rank 2
Answers by
Pavel Pavlov
Telerik team
Share this question
or