示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextBlock"/> class
 /// with the text to be displayed.
 /// </summary>
 public TextBlock(string text)
 {
     Text = text;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextBlock"/> class
 /// with the text to be displayed.
 /// </summary>
 public TextBlock(MultilineText text)
 {
     Text = text;
 }