Is it possible to 'freeze pane' in WPF datagrid
Is it possible with a WPF datagrid to do like in Excel and Freeze the first few columns 开发者_运维问答so that they always appear
If so how ?
Thanks
You have the property FrozenColumnCount
.
If you set it to 2 for example, then you can scroll the DataGrid
horizontally but the first two columns will always be visible
<DataGrid FrozenColumnCount="2" ...>
Try: DataGrid.FrozenColumnCount
.
精彩评论