Hi,
I have a data object class with System.ComponentModel.DisplayNameAttribute attribute.
When setting grid's ItemsSource with a collection of this data object, I see that the overriden DisplayName property getter is called by the grid, even though I set the Header property of each column hard-coded, and AutoGenerateColumns on the grid is set to false.
Is there a way to disable the grid's usage of this attribute without removing it from the data object?
Thanks,
Regards,
David.
I have a data object class with System.ComponentModel.DisplayNameAttribute attribute.
When setting grid's ItemsSource with a collection of this data object, I see that the overriden DisplayName property getter is called by the grid, even though I set the Header property of each column hard-coded, and AutoGenerateColumns on the grid is set to false.
Is there a way to disable the grid's usage of this attribute without removing it from the data object?
Thanks,
Regards,
David.