开发者

WPF 4: What happened to DataGridColumnHeader?

What happened to DataGridColumnHeader? It looks like it was droppe开发者_JAVA百科d when the DataGrid was moved into PresentationFramework.


DataGridColumnHeader is under the System.Windows.Controls.Primitives namespace in the PresentationFramework.dll assembly.


Something like

<DataGrid ItemsSource="{Binding}">
    <DataGrid.Columns>
        <DataGridTextColumn Header="Column Name" Binding="{Binding Name, Mode=TwoWay}" />
    </DataGrid.Columns>
</DataGrid>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜