GridViewCell color change depending on item property

3 posts, 0 answers
  1. Andrew
    Andrew avatar
    5 posts
    Member since:
    Dec 2012

    Posted 11 Dec 2012 Link to this post

    Hello.
    I have a RadGridView control which is binded to ObservableCollection<DATA>. DATA has a lot of properties, including DEP_LINK
    RadGridView has a Combobox column, which is binded to DEP_LINK property:
    <telerik:GridViewComboBoxColumn Header="Department"
                                    DataMemberBinding="{Binding DEP_LINK}"
                                    ItemsSource="{Binding Departments}"
                                    SelectedValueMemberPath="LINK"
                                    DisplayMemberPath="TITLE">
    </telerik:GridViewComboBoxColumn>
    Combobox Items Source is ObservableCollection<DEPARTMENT>. DEPARTMENT has LINK, TITLE and ISUSED properties.
    Now I want to color this cell Red if ISUSED == 0. Any thoughts how can I achieve this?
    Thank you!
  2. Andrew
    Andrew avatar
    5 posts
    Member since:
    Dec 2012

    Posted 12 Dec 2012 Link to this post

    Anyone?
  3. Andrew
    Andrew avatar
    5 posts
    Member since:
    Dec 2012

    Posted 16 Dec 2012 Link to this post

    Hello?
Back to Top