WPF DataGridTemplateColumn Header binding not working
问题 I am using the DataGrid with some manually created DataGridTemplateColumns. Here is a code snippet of that in work: <DataGrid ItemsSource="{Binding Projects, Mode=OneWay}" SelectedItem="{Binding SelectedProject}" SelectionMode="Single" CanUserSortColumns="True" RowBackground="Transparent"> <DataGrid.Columns> <DataGridTemplateColumn Header="Art" Width="60" /> <DataGrid.Columns> <DataGrid> Everything works just fine, data is loaded and my column is displayed as expected. However, when i try to