Friday, May 20, 2011

 

Newline in Summary XML

You probably know this already, but just in case you don’t! If you want line breaks in your popup tooltip descriptions in Visual Studio, you add the <para> element to your XML summary comments e.g.:

/// <summary> 
/// Main comment
/// <para>Line 1</para>
/// <para>Line 2</para>
/// </summary>
public bool SomeProperty { get; set; }




and it appears like this:


VSToolTip



1 Comments:

nice that solve my propblems

By Anonymous Anonymous, at January 31, 2012 4:14 pm  

Post a Comment



<< Home
    

Powered by Blogger