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
also it seems that some attributes are picked up currently (Browsable()) and DisplayName())
is there a listof currently used attributes and their functions?
Hello,
I believe there is no official documentation for which attributes are natively supported with the XamDataGrid. To the ones that you have already discover, I can add the ReadOnly attribute which will set the AllowEdit property of the field. In case you have other attributes that are not implemented, you can submit feature requests for them here.