Class FloatingDisplay
A display that is using its own top-level window.
Inherited Members
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.
This display implementation is only available on Windows platforms. Creation will fail on other platforms.
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. |