Class ConsoleWindow
Helper wrapper class that enables console window management operations for the application.
Inherited Members
Namespace: TheXDS.MCART.Component
Assembly: MCART.Windows.dll
Syntax
public class ConsoleWindow : IMsWindow, IWindow, ICloseable
Properties
| Edit this page View SourceHandle
Gets the handle through which the window can be manipulated.
Declaration
public nint Handle { get; }
Property Value
| Type | Description |
|---|---|
| nint |
HasConsole
Indicates whether the application has access to the console.
Declaration
public static bool HasConsole { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Padding
Gets or sets the interior margin that spaces the window's borders from its content.
Declaration
public Margins Padding { get; set; }
Property Value
| Type | Description |
|---|---|
| Margins |
Methods
| Edit this page View SourceClose()
Closes the console window.
Declaration
public void Close()