I recall in Silverlight the ability to place an Attribute on a given property in the Model for an alternate display name when auto generating columns on a data grid. Is this possible in WPF? I don’t want to use the event handler to change the names.
Share
Found it…here is what I was referencing DisplayAttribute, however that does not appear valid in WPF, only SL. For WPF it can be done like this…keeping everything in XAML…
…this allows you to change the
DisplayNameproperty to get displayed as “Display” in the header of theDataGrid.