-
-
Notifications
You must be signed in to change notification settings - Fork 5
TextBlock
Iuga Alexandru edited this page Sep 4, 2018
·
1 revision
This control displays a multiline text to the console.
- Multiline text
- Left, Top, Right and Bottom Margins
- Foreground and Background colors
TextBlock textBlock = new TextBlock
{
Text = "This is a demo for the TextBox control.",
MarginTop = 1,
MarginBottom = 1,
ForegroundColor = ConsoleColor.Cyan
};
textBlock.Display();