Class FloatingDisplay

A display that is using its own top-level window.

Inheritance

FloatingDisplay

Implements

Namespace: ic4
Assembly: ic4dotnet.dll
Syntax
public class FloatingDisplay : Display, IDisposable, IDisplay
Remarks

The main use case for this display type are test and demo applications.

The display's window has its own window thread, therefore also works in console applications.

Use the WindowClosed event to get a notification when the display's window was closed.

Constructors

FloatingDisplay(DisplayType)

Create a new display using its own top-level window.

Declaration

public FloatingDisplay(DisplayType displayType = DisplayType.Default)

Parameters

Type Name Description
DisplayType displayType

Type of display to use

Exceptions

Type Condition
IC4Exception

Check ErrorCode and ToString() for details.

Implements