Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Is it possible to hide third column if two columns are assigned to a ListView control ?
 

Is it possible to hide third column if two columns are assigned to a ListView control ?

Hi,

Suppose if we are assigning two columns to the ListView control, ListView will show the unassigned thrid column..

Is it possible to hide that third column if it is not assigned..?

Thanks in Advance,

Natraj.

itsnatraj  Friday, October 27, 2006 11:44 AM

Natraj,

Set the width to 0 for the column you do not want to display.

Regards,

Luc Pettett

Luc Pettett  Monday, October 30, 2006 12:28 AM

Luc Pettett,

Thanks for your reply !

I do not want to show the unwanted or unassigned column only. Not for the assigned column.

I have added two ColumnHeader to the ListView control.But it is showing thrid empty column without the column header name . I want to remove that. It should be shown like PropertyGrid or Datagrid with2 Column.

itsnatraj  Monday, October 30, 2006 9:02 AM

You can use google to search for other answers

Custom Search

More Threads

• Insufficient memory to continue the execution of the program.
• Designer dont show Form after namespace change
• grouped checkboxes
• ListView - Wrapping Text in the Headers
• Getting user inputs
• Deleting left over controls
• Design time repaint problem
• Bulk of Controls Created at Runtime in Windows Application?
• .Images.SetKeyName designer generated code exception
• How to have drawings show up in Design view