Метод | Описание | |
---|---|---|
ConsoleApp ( ) : System |
Creates a full screen console app that will automatically adjust its layout if the window size changes
|
|
ConsoleApp ( int x, int y, int w, int h ) : System |
Creates a new console app given a set of boundaries
|
|
FromMvVm ( string markup, object viewModel ) : ConsoleApp |
Creates a ConsoleApp from markup and a view model
|
|
Paint ( ) : void |
Queues up a request to paint the app. The system will dedupe multiple paint requests when there are multiple in the pump's work queue
|
|
Start ( ) : Task |
Starts the app, asynchronously.
|
Метод | Описание | |
---|---|---|
HandleKeyInput ( ConsoleKeyInfo info ) : void |
Handles key input for the application
|
Метод | Описание | |
---|---|---|
ControlAddedToVisualTree ( |
||
ControlRemovedFromVisualTree ( |
||
ControlRemovedFromVisualTreeRecursive ( |
||
Event ( ) : System |
public ConsoleApp ( int x, int y, int w, int h ) : System | ||
x | int | The left position on the target console to bound this app |
y | int | The right position on the target console to bound this app |
w | int | The width of the app |
h | int | The height of the app |
Результат | System |
public static FromMvVm ( string markup, object viewModel ) : ConsoleApp | ||
markup | string | The xml markup that defines the app's view |
viewModel | object | The view model object that defines the code behind the view |
Результат | ConsoleApp |
protected HandleKeyInput ( ConsoleKeyInfo info ) : void | ||
info | ConsoleKeyInfo | The key that was pressed |
Результат | void |