RadGridView - adding new properties to GridViewCell class

1 posts, 0 answers
  1. Allen
    Allen avatar
    18 posts
    Member since:
    Apr 2013

    Posted 12 Jan 2014 Link to this post

    Hi,

    I am using a  RadGridView

    in which I have made a control template for its cell class GridViewCell.
     
    I have this control template to have a different display for every cell depending on its properties.
     
    I want to have further conditions where this cell will display certain GUI features depending on properties.

    For now I am using the Tag property of the GridViewCell in the Control Template but this is not ideal.

    The ideal solution would be to have a class to inherit from GridViewCell and add my extraneous properties there.

    This however does not appear to be possible as there appears no methods or functionality available to create this new GridViewCell in the grid.

    (This however seems possible for GridViewRow )

    Was just wondering if there was a workaround else I would have no choice but to use Tag.

    Thanks

Back to Top