Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Multiline inputbox in propertygrid
 

Multiline inputbox in propertygrid

Is it posible to have "inputbox" that looks like a multiline textbox in the Propertygrid control?
Want to have users input a long text string into this control. But it's not verry user friendly when i use the standard control with only single line inputboxes.
MigrationUser 1  Tuesday, June 24, 2003 8:29 AM
I don't think that there is a way to do this right now...  You could, conceivably, create a Custom UITypeEditor for your property that results in a multiline textbox being displayed in it's own form.  But, that might be overkill...
MigrationUser 1  Tuesday, June 24, 2003 9:25 PM
That's not good news. I have noticed that if i send a collection into the propertygrid a get a litle button that opens a dialog for entering items in the collection. Would it be posible to force a button like this to open a new dialog with only a textarea???

Lars
MigrationUser 1  Wednesday, June 25, 2003 5:57 AM
I've uploaded a sample UITypeEditor that does just what you need.  Its in the Samples section under Controls.

<a href="http://windowsforms.net/Default.aspx?tabindex=4&tabid=49#Controls">http://windowsforms.net/Default.aspx?tabindex=4&tabid=49#Controls</a>

good luck
 - mike
MigrationUser 1  Wednesday, June 25, 2003 11:02 AM

You can use google to search for other answers

Custom Search

More Threads

• CPU goes 100% when moving labels on a form
• Editing (specifically deleting) from hosted designers
• Error when adding a user control to a form
• Working with Created Property of Text Box
• How to show next previous records in VB.Net 2005?
• How to Show form in Quick lunch rather than Task bar
• CODE FOR PRINTING
• Making user-control's child control clickable from VS 2005
• Embedded Component-Properties in Controls
• Remove white bottom border on a Toolstrip