Monday, March 7, 2011

DataGrid Column Header Binding Behavior

I ran into a problem binding a localized string to a Silverlight 4 DataGrid Column Header, it turns out the Header property on a DataGridTextColumn isn't a dependency property and so it doesn't support binding.  This behavior will let you bind a value to the header.

Hope that helps someone else out who may be trying to localize their application.


No comments:

Post a Comment