When binding to a list of custom objects the grid seems to take all public properties and build a column for each one.
Is there a way to use an attribute on the custom object properties to customize the default header text for each property? Likewise is there a way to stop the grid generating columns for specific properties of the custom object via an attribute?
The type of attributes that I am thinking of would be System.ComponentModel.DataAnnotations or similar.
Hi,
We currently offer support for the AutoGenerateFiled for the DisplayAtrribute of the DataAnnotations.
We do plan to add support for the other Attributes, however, they aren't currently implemented.
[Display(AutoGenerateField=false)]
-SteveZ
by the way, I dont want to define the columns manually in the XAML I want to still use the autogenerate option.