Skip to main content

Class Layout

A base class for display layouts

Assembly: MicroLayout.dll
View Source
public abstract class Layout : ThemedControl, IThemedControl, IControl

Inheritance: System.Object -> Meadow.Foundation.Graphics.MicroLayout.Control -> Meadow.Foundation.Graphics.MicroLayout.ThemedControl

Derived:
Meadow.Foundation.Graphics.MicroLayout.AbsoluteLayout

Implements:
Meadow.Foundation.Graphics.MicroLayout.IThemedControl, Meadow.Foundation.Graphics.MicroLayout.IControl

Properties

BackgroundColor

Gets or sets the background color of the Layout.

View Source
public Color? BackgroundColor { get; set; }

IsInvalid

Gets or sets a value indicating whether the control needs to be redrawn.

View Source
public override bool IsInvalid { get; }

IsVisible

Gets or sets a value indicating whether the control is visible.

View Source
public override bool IsVisible { get; set; }

Controls

Gets the collection of controls on the display screen.

View Source
public ControlsCollection Controls { get; }

Methods

ApplyTheme(DisplayTheme)

Applies the specified display theme to the control.

View Source
public override void ApplyTheme(DisplayTheme theme)
Parameters
TypeNameDescription
Meadow.Foundation.Graphics.MicroLayout.DisplayThemethemeThe display theme to apply.

Invalidate()

Marks the control as invalid, requiring a redraw.

View Source
public override void Invalidate()

Implements