How to align the column header in a WPF ListView/GridView control?

added by DotNetKicks
12/28/2016 3:33:54 PM

1 Kicks, 28 Views

In general case, the header/title of a WPF ListView/GridView columns are aligned in the center and hence in many cases you will need to align the column header/title to left or right (based as per your business requirement). Today we will learn how to do this in the XAML itself by creating a proper style for the column header.