Windows Develop Bookmark and Share   
 index > Windows Forms General > can't PropertyGrid support multi column?
 

can't PropertyGrid support multi column?

what i need is a multi column PropertyGrid (at least support 3 columns) ,is there any easy way to cumstize the PropertyGrid to achieve this effect ?

think twice  Thursday, November 08, 2007 5:57 AM

Hi, think twice,

Based on my understanding, you want to find a multi-column PropertyGrid, don't you?

As far as I know, the standard PropertyGrid doesn't have such capability.

And it could be rather difficult to change the column number of aPropertyGrid byinheriting it.

As a matter of fact, the table in PropertyGrid is a PropertyGridView which is in

Code Block

System. Windows. Forms. PropertyGridInternal. PropertyGridView

And it is a internal class

Code Block
internal class PropertyGridView : Control, IWin32Window, IWindowsFormsEditorService, IServiceProvider

So, I think there would belittle chance that you can change the column number in an easy way.

Hope this helps,

Regards


Yu Guo â€?MSFT  Monday, November 12, 2007 7:04 AM

Hi, think twice,

Based on my understanding, you want to find a multi-column PropertyGrid, don't you?

As far as I know, the standard PropertyGrid doesn't have such capability.

And it could be rather difficult to change the column number of aPropertyGrid byinheriting it.

As a matter of fact, the table in PropertyGrid is a PropertyGridView which is in

Code Block

System. Windows. Forms. PropertyGridInternal. PropertyGridView

And it is a internal class

Code Block
internal class PropertyGridView : Control, IWin32Window, IWindowsFormsEditorService, IServiceProvider

So, I think there would belittle chance that you can change the column number in an easy way.

Hope this helps,

Regards


Yu Guo â€?MSFT  Monday, November 12, 2007 7:04 AM

thanks, i have another question. could i catch the column resize event?

think twice  Friday, November 16, 2007 9:01 AM

You can use google to search for other answers

Custom Search

More Threads

• managing database...
• Ideas on communicating to multiple computers in vb.net
• print rdlc reports automatically
• DataGrid and backslash on Swedish keybord
• Accesiblename & AccesibleDescription Properties
• OwnerDraw in CheckedListBox
• .NET Framework and Windows Profiles
• DataGridViewComboBoxColumn
• How to abort SQL query execution on aborting Thread?
• Compact framework SQL error