I believe there is a completed application and then there is a finished application.  The difference to me is a completed application is code that is complete and is ready to hand over to quality testing. A finished application is where the application appears to have some common theme or style applied to it, which makes it look like someone took some extra time with the application, and was thinking about the end product.

One way to do this is with styling your DataGrid’s column header to match your application’s theme.  To style the DataGrid’s column header you apply a style to the ColumnHeaderStyle property as shown below.

… The PrimaryBrush and PrimaryFont are defined in the App.xaml Resource section as SolidBrushes. …

Shows WPF DataGrid with column headers styled

You can do this as shown above on each grid or take the style and pull it out into your Resources section in your App.xaml. Once there, you just need to assign the style a key and then use that key to set the ColumnHeaderStyle property on each grid to have it leverage the style.

Like this post? Share it!