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
245
Access extra attributes of a Field by reflection
posted

hi,

we had previously written a wrapper around the ultragrid that reflected on the attributes of the list of ITypedItem that it was bound to to format the column / hide it / set it as read only etc.

(this allowed us to easily set the format of the column by specifying an attribute on the appropriate property)

I would like to do a similar layer if possible for the xamdatagrid.

Any tips on how i could go about this?

in the ultragridcolumn we used to be able to call GetPropertyDescriptor and then go throught the attributes of that.

i see field has the GetPropertyDescripto but this required a Data Record?

any ideas if it's possible to do something similar with the xam grid

 

Parents Reply Children