David,
you will have to do this manually, you can't set it through the properties
window.
do into the "Windows Form Designer generated code" region and look for the
line that sets your Tooltip text.
it ought to look something like this:
---------------------------------
this.toolTip1.SetToolTip(this.checkedListBox1, "IsBoolParam: true = blah
blah blah blah false = blah blah blah");
-------------------------------
change it to include the \r\n where you need it
-----------------------------
this.toolTip1.SetToolTip(this.checkedListBox1, "IsBoolParam: true = blah
blah blah blah\r\nfalse = blah blah blah");
-------------------------------
of course if you are doing this somewhere in your code, just do the same
thing.
Kirk Graves
"David Martin" <We*****@dfmartin.com> wrote in message
news:OI**************@tk2msftngp13.phx.gbl...
Is there a way to insert a newline into a documentation comment? The
intention is to have the tooltip that appears with Intellisense show the
line breaks so that the description is easier to read.
For example, I have a method where one of the parameters is a bool. The
diference between true and false is significant to the results. I would
like the tool tip to read as follows for that parameter:
IsBoolParam: true = blah blah blah blah
false = blah blah blah
instead of this:
IsBoolParam: true = true = blah blah blah blah. false = blah blah blah
Any help is greatly appreciated. Also, if you know of a source of
information regarding other ways these documentation comments may be
formatted it would be great.
-David Martin