Skip to main content

Class DisplayScreen

An abstraction of a physical screen

Assembly: MicroLayout.dll
View Source
public class DisplayScreen

Properties

Controls

Gets the collection of controls on the display screen.

View Source
public ControlsCollection Controls { get; }

BackgroundColor

Gets or sets the background color of the display screen.

View Source
public Color BackgroundColor { get; set; }

Width

Gets the width of the display screen.

View Source
public int Width { get; }

Height

Gets the height of the display screen.

View Source
public int Height { get; }

Methods

Invalidate()

Invalidates the entire screen, causing all controls to redraw

View Source
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
public void BeginUpdate()

EndUpdate()

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

View Source
public void EndUpdate()