Example #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;
 }
Example #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;
 }