|
-
Dec 18th, 2002, 02:25 PM
#1
Switch between Write/Read Only on a PropertyGrid
Is there a way to switch the PropertyGrid between ReadOnly and Write without having two classes with different TypeConverters?
I want to use a PropertyGrid to show the values of the properties of a complex object but depending on who is looking at them they may need to be read only. The only way I see now to make it Read Only is to give the class its binding to a TypeConvert that can't convert. Is there another way?
Also I am using a PropertyGrid instead of a DataGrid because it is one object with many properties. In a datagrid that would mean 1 row and many columns which I don't want. Unless there is a way to switch the column and rows so the rows were the header and the columns the values. If you know how to do that then that'd be great as well?
Thanks for any help or advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|