Search Results for

    Show / Hide Table of Contents

    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. Whereas desktop apps will have multiple windows available at once.
    Namespace: LemonEdge.Client.UI.API.Windows
    Assembly: LemonEdge.Client.UI.API.dll
    Syntax
    public interface IWindow

    Properties

    Controller

    The controller responsible for controlling 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()

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.