Hi Kimmo,
There is absolutely no way to have multiple lines for a property with
the MSPG. The only solution for you is to use the MultilineStringEditor
but it will popup a multilines textbox and it seems you don't want
that.
Smart PropertyGrid.Net allows for multilines properties (like for radio
buttons, checkboxes and also textboxes). You define yourself the number
of lines you want. It is largely showcased in the provided sample.
If you have anu question, just drop me a line from the web site.
Best regards,
Nicolas Cadilhac @ VisualHint (
http://www.visualhint.com)
Home of Smart PropertyGrid for .Net and MFC
Kimmo Laine wrote:
Hi!
Is there a way to display text in Propertygrid that spreads in to multiple
lines?
I don´t want to make editor that opens a new dialog when user is editing
value - i would like to have normal Textbox with several lines. I know i
need to inherit from UITypeEditor, but how do i implement the overloaded
PaintValue- and EditValue-methods. And how do i tell my grid that this line
is taller than the others.
thx
Kimmo Laine