I have 5-10 labels in table cell,I want to start each label with new line.
In that cell some labels are hide according to condition, so labels which are not hide that will be started with new line.
If I'm using '' in design mode then their will be empty space in that table cell.
So, How to add new line in label programatically?

keyurRank #5,481 · 298 reputationPosted Feb 16, 2015, 1:39 AM EST
Please try below
StringBuilder sb = new StringBuilder();
sb.AppendLine("Some text with line one");
sb.AppendLine("Some mpre text with line two");
lbl1.Text = sb.ToString().Replace(Environment.NewLine, "
");
Keyur
keyurRank #5,481 · 298 reputationPosted Feb 16, 2015, 2:08 AM EST
Dose this help ?
Sanket JainRank #1,788 · 835 reputationPosted Feb 16, 2015, 7:20 PM EST
But I'm not using string builder, I'm only added "" with each label end programmatically.
Thanks for your support Keyur.