Method | Description | |
---|---|---|
ConsoleControl ( ) : System |
Creates a new ConsoleControl
|
|
ToString ( ) : string |
Gets the type and Id of this control
|
|
TryFocus ( ) : bool |
Tries to give this control focus. If the focus is in the visual tree, and is in the current focus layer, and has it's CanFocus property to true then focus should be granted.
|
|
TryUnfocus ( ) : bool |
Tries to unfocus this control.
|
Method | Description | |
---|---|---|
OnPaint ( |
You should override this method if you are building a custom control, from scratch, and need to control every detail of the painting process. If possible, prefer to create your custom control by deriving from ConsolePanel, which will let you assemble a new control from others.
|
Method | Description | |
---|---|---|
AddedToVisualTreeInternal ( ) : void | ||
BeforeAddedToVisualTreeInternal ( ) : void | ||
BeforeRemovedFromVisualTreeInternal ( ) : void | ||
CalculateAbsolutePosition ( ) : Point | ||
CalculateRelativePosition ( |
||
Event ( ) : System | ||
FireFocused ( bool focused ) : void | ||
HandleKeyInput ( |
||
Paint ( |
||
PaintTo ( |
||
RemovedFromVisualTreeInternal ( ) : void |
protected OnPaint ( |
||
context | The scoped bitmap that you can paint on | |
return | void |