Skip to main content

Class DisplayScreen

An abstraction of a physical screen

Assembly: MicroLayout.dll
View Source
Declaration
public class DisplayScreen

Properties

Controls

Gets the collection of controls on the display screen.

View Source
Declaration
public ControlsCollection Controls { get; }

BackgroundColor

Gets or sets the background color of the display screen.

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

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; }

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()