WPF 4: What happened to DataGridColumnHeader?
问题 What happened to DataGridColumnHeader? It looks like it was dropped when the DataGrid was moved into PresentationFramework. 回答1: DataGridColumnHeader is under the System.Windows.Controls.Primitives namespace in the PresentationFramework.dll assembly. 回答2: Something like <DataGrid ItemsSource="{Binding}"> <DataGrid.Columns> <DataGridTextColumn Header="Column Name" Binding="{Binding Name, Mode=TwoWay}" /> </DataGrid.Columns> </DataGrid> 来源: https://stackoverflow.com/questions/2481946/wpf-4-what