开发者

WPF - Adding a Rowheader to a ListView Grid View

开发者 https://www.devze.com 2023-01-14 12:00 出处:网络
I need to add a rowheade开发者_Go百科r to a Listview GridView. it needs to act like a datagrid rowheader, sop it should be freezable.

I need to add a rowheade开发者_Go百科r to a Listview GridView. it needs to act like a datagrid rowheader, sop it should be freezable.

is thsi possible? can anyone show me some source code to do this?

Thanks


The GridView do not have rowheaders but you can style the first column differently than the rest. Implementing freezing will require some innovative use of a scrollviewer. Can't you just use the DataGrid which has RowHeaders?

DataGrid Class

0

精彩评论

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