Why can’t I style a DataGridTextColumn?
You can’t style the DataGridTextColumn because DataGridTextColumn does not derive from FrameworkElement (or FrameworkContentElement). Only FrameworkElement, etc supports styling. When you attempt to create a style in XAML for any type that is not a FrameworkElement or FrameworkContentElement you get that error message. How do you solve this? As with any problem, where there is … Read more