Ellipse colored based on a value in a gridview

2 posts, 0 answers
  1. Paolo
    Paolo avatar
    426 posts
    Member since:
    Jun 2009

    Posted 04 Oct 2012 Link to this post

    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?
  2. Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 08 Oct 2012 Link to this post

    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.

Back to Top