Class MicroLayout
A base class for display layouts
Assembly: MicroLayout.dll
View Source
Declaration
public abstract class MicroLayout : ThemedControl, IThemedControl, IControl
Inheritance: System.Object
-> Meadow.Foundation.Graphics.MicroLayout.Control
Derived:
Meadow.Foundation.Graphics.MicroLayout.AbsoluteLayout
Implements:
Meadow.Foundation.Graphics.MicroLayout.IThemedControl
Properties
BackgroundColor
Gets or sets the background color of the Layout.
View Source
Declaration
public Color? BackgroundColor { get; set; }
IsInvalid
Gets or sets a value indicating whether the control needs to be redrawn.
View Source
Declaration
public override bool IsInvalid { get; }
IsVisible
Gets or sets a value indicating whether the control is visible.
View Source
Declaration
public override bool IsVisible { get; set; }
Controls
Gets the collection of controls on the display screen.
View Source
Declaration
public ControlsCollection Controls { get; }
Methods
ApplyTheme(DisplayTheme)
Applies the specified display theme to the control.
View Source
Declaration
public override void ApplyTheme(DisplayTheme theme)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Graphics.MicroLayout.DisplayTheme | theme | The display theme to apply. |
Invalidate()
Marks the control as invalid, requiring a redraw.
View Source
Declaration
public override void Invalidate()