You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tyberious edited this page Aug 31, 2023
·
2 revisions
Label Control
The Label control lets you display text in the console.
Properties
X and Y: Set the position of the label.
BackgroundColor and ForegroundColor: Customize colors for the label.
Caption: The text that will be displayed in the label.
Example
LabelnameLabel=newLabel{X=5,Y=10,BackgroundColor=ConsoleColor.DarkBlue,ForegroundColor=ConsoleColor.White,Caption="Welcome to SimpleConsole.Controls!"};
Updating the Caption property will result in the label being redrawn to the console window.