Skip to main content

Class DisplayScreen

An abstraction of a physical screen

Assembly: MicroLayout.dll​
View Source​
Declaration
public class DisplayScreen

Properties​

Parent​

View Source​
Declaration
public IControl Parent { get; }

TouchScreen​

Gets the Touchscreen associated with the display screen

View Source​
Declaration
public ITouchScreen? TouchScreen { get; }

Controls​

Gets the collection of controls on the display screen.

View Source​
Declaration
public ControlsCollection Controls { get; }

Width​

Gets the width of the display screen.

View Source​
Declaration
public int Width { get; }

Height​

Gets the height of the display screen.

View Source​
Declaration
public int Height { get; }

BackgroundColor​

Gets or sets the background color of the display screen.

View Source​
Declaration
public Color BackgroundColor { get; set; }

Methods​

Invalidate()​

Invalidates the entire screen, causing all controls to redraw

View Source​
Declaration
public void Invalidate()

BeginUpdate()​

Begins an update process for the display screen, indicating that no drawing should take place until EndUpdate is called

View Source​
Declaration
public void BeginUpdate()

EndUpdate()​

End an update process for the display screen, indicating that drawing should resume and invalidating the DisplayScreen

View Source​
Declaration
public void EndUpdate()