Вопрос

I am using silverlight Datagrid in side I have label where in Text need to shown as formated as stated below.

I have string = RTY, EER, RRR,SFG

I have to show in Sivlerlight Datagrid Label as

Result :

RTY,
EER,
RRR,
SFG,

Это было полезно?

Решение

after all my searching Here goes the Answer it's just as simple as that.

VB.Net :

Append the "& vbCrLf &" to the string where you want to break the line to Display Multiline Text in Textblock and Label controls.

Example :

"RTY"& vbCrLf &"EER"& vbCrLf &"RRR"& vbCrLf &"SFG

Result :

RTY

EER

RRR

SFG
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top