Allow multi-line String properties in the Properties window?

You can use the EditorAttribute with a MultilineStringEditor : EditorAttribute(typeof(MultilineStringEditor), typeof(System.Drawing.Design. UITypeEditor)) public string Instructions { get { return TextBox1. Text; } set { TextBox1.

Text = value; } }.

You can use the EditorAttribute with a MultilineStringEditor: EditorAttribute(typeof(MultilineStringEditor), typeof(System.Drawing.Design. UITypeEditor)) public string Instructions { get { return TextBox1. Text; } set { TextBox1.

Text = value; } }.

Sorry, I must be missing some references. I am not getting the MiltilineStringEditor as an option in my Intellisense. Even when I use System.ComponentModel.Design.

MultilineStringEditor. And it won't compile. If I ca get it to work, I'll give you the credit for the right answer, though... – David Stratton Nov 10 '09 at 23:26 you have to reference System.Design.

Dll – manji Nov 10 '09 at 23:33 Perfect. I found that out on my own and was just coming back to post that as a comment. Thank you.

I'm going to keep this open for a day or so so that hopefully you will get some votes on the answer beside my own. This was a pretty obscure piece of knowledge, and I think you should be rewarded. – David Stratton Nov 10 '09 at 23:37 glad it was helpful.Thanks.

– manji Nov 10 '09 at 23:49 Adding a reference to System. Design requires that the target framework is not Client Profile but Full. As an alternative, write the attribute like this: EditorAttribute("System.ComponentModel.Design.

MultilineStringEditor, System. Design", "System.Drawing.Design. UITypeEditor") - this works with the Client Profile too!

– romkyns Nov 10 '097 at 20:58.

Enters text in the multi-line text box when interacting with the control. Box comes up. Type the desired text and click OK.

By a property named Lines. Of lines of text and assign it to the text box. The control, you can retrieve the value of the Lines property.

Content of the control. This allows you to take actions. Programmatically setting the Modified property to true.

Can make sure that this property reflects the change.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions