Interface IWindow
The base window interface that all UI clients across different platforms implement for LemonEdge
This allows the platform to mainly close/show windows depending on the functionality supported by the client.
For instance some platforms will show the window by replacing the entire ui (such as a mobile phone) with it, and then fallback to the previous ui when the window is closed. Wheras desktop apps will have multiple windows available at once.Namespace: LemonEdge.Client.Core
Assembly: ClientCore.dll
Syntax
public interface IWindow
Properties
Controller
The controller responsible for controlleing this windows behaviour, and can be interacted with from the LemonEdge platform
Declaration
IController Controller { get; }
Property Value
Type | Description |
---|---|
IController |
Methods
CloseWindow()
Tells the client application to close this window
Declaration
void CloseWindow()
SetOwner(IWindow)
Tells the client application that the specified window is the direct parent of this window, and thus this window should appear on top of it when it is created
Declaration
void SetOwner(IWindow owner)
Parameters
Type | Name | Description |
---|---|---|
IWindow | owner | The window that is the direct parent of this one |
Show()
Tells the client application to show this window
Declaration
void Show()
ShowDialog()
Tells the client application to show this window in a modal form so that windows beneath it can not be accessed until this one is dismissed
Declaration
void ShowDialog()