Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
495
Column with loose types
posted

Hello,

I have a object that looks like this: SomeObject<T>, and a list of "SomeObject" objects, all of which have different types of T (int, double, string, etc).

SomeObject.Value return value of type T.

1. Can I use the XamDataGrid in a way that allows me to have a bound column with a flexible type? (to display the value property)

2. If so, can I select the editor type for different cells in a single column? for example, in the 3rd row I want a string editor, while in 4th row I want a MaskedEditor to handle doubles well.

 

Thank you.