问题
i need to freeze 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
回答1:
ListView has no support for this, nor can it easily be added. Consider using DataGridView instead. Its columns have a Frozen property.
来源:https://stackoverflow.com/questions/2833616/c-sharp-language-how-to-freeze-listview-control-in-windows-form