VS 2005 and System.Windows.Forms.PropertyGrid control

S

S.mark

Hi,
I can't find the ReadOnly property in PropertyGrid control (Visual Studio
2005), is there any work around to display object properties with the new
PropertyGrid control in ReadOnly mode ?

Thank you.
 
N

Nicholas Paldino [.NET/C# MVP]

S.mark,

There is no ReadOnly property on the PropertyGrid (and I don't believe
there was one either).

The only option you have is to set the Enabled property to false, and
then the control will be read-only.

Hope this helps.
 

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

Top