Quantcast
Channel: How to add new line in FormattedString - Stack Overflow
Viewing all articles
Browse latest Browse all 5

How to add new line in FormattedString

$
0
0
 public FormattedString FormattedDescription {     get     {         return new FormattedString         {            Spans =             {                new Span                 {                     Text = RoleName,                     FontSize = 16,                     FontAttributes = FontAttributes.Bold                 },                new Span                 {                     Text = "/ "+ ProjectRoleID +"/ "+Part +"/ "+Gender +"/ "+ AgeRange                },           }        };    }    set     {     }  }

In above code i want to Display RoleName in First line and other Detail in second Line.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>