error(list view)

  • Thread starter Thread starter juli jul
  • Start date Start date
J

juli jul

Hello I am trying to do this:
this.listViewEx1.Items.IsReadOnly=true;

and get the following error:
C:\Temp\config\folder\ConfigBrowser\Form1.cs(183): Property or indexer
'System.Windows.Forms.ListView.ListViewItemCollection.IsReadOnly' cannot
be assigned to -- it is read only

How can I sove it?
Thanks a lot!
 
Hi,

It's a read only property, you cannot change it, btw it's always false
according to MSDN

what you want to do anyway?

cheers,
 
Hi,

Why?

What do you want to do ?

If you want it to be RO just do not add more elements

cheers,
 

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

Similar Threads


Back
Top