开发者

C# language: How to freeze listview control in windows form?

开发者 https://www.devze.com 2022-12-30 12:03 出处:网络
i need to fr开发者_如何学Goeeze certain columns in listview so when the user scrolls horizontally the frozen columns will not be affected (like in excel) but there is no frozen(bool) property like tha

i need to fr开发者_如何学Goeeze certain columns in listview so when the user scrolls horizontally the frozen columns will not be affected (like in excel) but there is no frozen(bool) property like that in datagrid. Can this be done in listview control? Thanks


ListView has no support for this, nor can it easily be added. Consider using DataGridView instead. Its columns have a Frozen property.

0

精彩评论

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