This question is locked. New answers and comments are not allowed.
Hi,
For our internal control library we are implementing a DataGrid control with the GridView. We expose our own interfaces in this library and do not expose 3rd party controls directly (obviously to keep our interfaces constant i.e. backward compatible).
We encapsulate all 3rd party controls in an own custom control and only expose proprietary types.
The grid performs well except for one major issue: we are unable to set a CellStyle through our own dependency property. What we have tried is to define a style as a resource with a proprietary type as its targettype. We set that style to our own dependency property. In the changed event handler of that dependency property we delegate that style to the internal Telerik column while changing the targettype. Unfortunately it fails with an unhandled exception.
I've created a sample project which can be downloaded here
Can you please guide us how to implement this behaviour?
This would be a blocking issue to continue using the Telerik library if this isn't possible... The same issue is applicable to HeaderCellStyle and RowStyle.
Thanks for looking into this.
Klaus Vancamelbeke
For our internal control library we are implementing a DataGrid control with the GridView. We expose our own interfaces in this library and do not expose 3rd party controls directly (obviously to keep our interfaces constant i.e. backward compatible).
We encapsulate all 3rd party controls in an own custom control and only expose proprietary types.
The grid performs well except for one major issue: we are unable to set a CellStyle through our own dependency property. What we have tried is to define a style as a resource with a proprietary type as its targettype. We set that style to our own dependency property. In the changed event handler of that dependency property we delegate that style to the internal Telerik column while changing the targettype. Unfortunately it fails with an unhandled exception.
I've created a sample project which can be downloaded here
Can you please guide us how to implement this behaviour?
This would be a blocking issue to continue using the Telerik library if this isn't possible... The same issue is applicable to HeaderCellStyle and RowStyle.
Thanks for looking into this.
Klaus Vancamelbeke