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

RadGridView - adding new properties to GridViewCell class

0 Answers 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Allen
Top achievements
Rank 1
Allen asked on 13 Jan 2014, 03:27 AM
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

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Allen
Top achievements
Rank 1
Share this question
or