WindowManager Class
Namespace: GHIElectronics.TinyCLR.UI · Assembly: GHIElectronics.TinyCLR.UI
No description available.
public class WindowManager : Controls.Canvas
Properties
DisplayController
public DisplayController DisplayController { get; }
No description available.
Methods
MeasureOverride(int availableWidth, int availableHeight, out int desiredWidth, out int desiredHeight)
protected override void MeasureOverride(int availableWidth, int availableHeight, out int desiredWidth, out int desiredHeight)
Measurement override. Implement your size-to-content logic here. (inherited)
| Parameter | Type | Description |
|---|---|---|
availableWidth | int | Available size that parent can give to the child. May be MaxValue(when parent wants to measure to content). This is soft constraint. Child can return bigger size to indicate that it wants bigger space and hope that parent can throw in scrolling... |
availableHeight | int | |
desiredWidth | out int | |
desiredHeight | out int |
OnChildrenChanged(UIElement added, UIElement removed, int indexAffected)
protected internal override void OnChildrenChanged(UIElement added, UIElement removed, int indexAffected)
OnChildrenChanged is called when the UIElementCollection of the UIElement is edited. (inherited)
| Parameter | Type | Description |
|---|---|---|
added | UIElement | |
removed | UIElement | |
indexAffected | int |
RenderRecursive(DrawingContext dc)
protected internal override void RenderRecursive(DrawingContext dc)
No description available.
| Parameter | Type | Description |
|---|---|---|
dc | DrawingContext |
Events
PostRender
public event PostRenderEventHandler PostRender
No description available.
Fields
Instance
public static WindowManager Instance
No description available.