Column on ListView

  • Thread starter Thread starter Sean
  • Start date Start date
S

Sean

Hi all,

I wonder if there is a way to prevent user from resizing
the last column by moving the last vertical line on a
ListView, meaning I don't want user to be able to move the
last vertical line and change the width of the last column
on a ListView.

Any suggestion would be greatly appreciated.
Thank you in advance.


regards,
Shearn
 
Hi Shearn (Sean),

I believe the resizing of the columns are by design. To prevent resizing of columns you can set HeaderStyle to None. You might then use the first row for column names or put them above the ListView. Disabling the ListView will of course also prevent them from resizing it, but add further unwanted side effects.
 
Hi Morten,

Thank you for your reply.
It seems like it is best to just leave it resizable.

Thanks
Sean
-----Original Message-----
Hi Shearn (Sean),

I believe the resizing of the columns are by design. To
prevent resizing of columns you can set HeaderStyle to
None. You might then use the first row for column names
or put them above the ListView. Disabling the ListView
will of course also prevent them from resizing it, but add
further unwanted side effects.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top