Search Results for

    Show / Hide Table of Contents

    Interface ILayoutGenerator

    Whenever an item is displayed in the system a LayoutDescriptor is used to define a collection of tabs, views, sub-views, and other interactions to present that correctly to the user

    This interface is used by the system to dynamically create a LayoutDescriptor for a particular type of layout name and parameter.

    A user can also create a ILayout through drag+dropping views, which can be used to load a LayoutDescriptor too. See https://help.lemonedge.com/layouts/ for more info
    Namespace: LemonEdge.Client.Core.Views.DefaultLayouts.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public interface ILayoutGenerator

    Properties

    LayoutHelpURL

    An optional url containing help documentation on this layout. Integrates with the system Help command

    Declaration
    string LayoutHelpURL { get; }
    Property Value
    Type Description
    string

    Methods

    GenerateLayout(ILayoutCreator, string, string)

    Obsolete.

    The ILayoutCreator interface is no longer required and will be removed at a later date. Implement GenerateLayout(string, string) instead

    Declaration
    [Obsolete("The ILayoutCreator interface is no longer required, implement GenerateLayout(string uniqueLayoutName, string layoutParam) instead")]
    Task<LayoutDescriptor> GenerateLayout(ILayoutCreator displayer, string uniqueLayoutName, string layoutParam)
    Parameters
    Type Name Description
    ILayoutCreator displayer
    string uniqueLayoutName
    string layoutParam
    Returns
    Type Description
    Task<LayoutDescriptor>

    GenerateLayout(string, string)

    Creates a LayoutDescriptor that contains the definition of tabs, views, sub-views, parameters and other interactions for the display

    Declaration
    Task<LayoutDescriptor> GenerateLayout(string uniqueLayoutName, string layoutParam)
    Parameters
    Type Name Description
    string uniqueLayoutName

    The unique name of the layout this is being generated for

    string layoutParam

    ANy optional parameters for the layout that are could be used to generate this layout

    Returns
    Type Description
    Task<LayoutDescriptor>

    A LayoutDescriptor that details how to construct the layout in the UI of the client application

    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.