Search Results for

    Show / Hide Table of Contents

    Interface IControlCreator

    Creates and works with controls.

    Inherited Members
    IRequireRoot.Register(IRootController)
    IRequireRoot.Root
    Namespace: LemonEdge.Client.UI.API.Controls
    Assembly: LemonEdge.Client.UI.API.dll
    Syntax
    public interface IControlCreator : IRequireRoot

    Methods

    CreateControl<T>(params object[])

    Creates a UI control. Allows for concrete implementors to override the control type that is returned.

    Declaration
    T CreateControl<T>(params object[] args) where T : class
    Parameters
    Type Name Description
    object[] args

    any args for creation

    Returns
    Type Description
    T

    The concrete control

    Type Parameters
    Name Description
    T

    The base type of control

    CreateModelView(IModelLayoutDisplayer, ViewDescriptorInstance)

    Creates an IModelView, given the provided ViewDescriptorInstance.

    Declaration
    IModelView CreateModelView(IModelLayoutDisplayer displayer, ViewDescriptorInstance viewDescriptor)
    Parameters
    Type Name Description
    IModelLayoutDisplayer displayer
    ViewDescriptorInstance viewDescriptor

    The descriptor

    Returns
    Type Description
    IModelView

    An IModelView

    CreateSingleControl(ControlDisplayInfo, double?)

    Creates Control according to control definition

    Declaration
    ISingleControl CreateSingleControl(ControlDisplayInfo info, double? widthOverride = null)
    Parameters
    Type Name Description
    ControlDisplayInfo info
    double? widthOverride
    Returns
    Type Description
    ISingleControl

    CreateWindow<T>()

    Creates an IWindow, given the generic abstract interface type T

    Declaration
    T CreateWindow<T>() where T : IWindow
    Returns
    Type Description
    T

    A concrete window

    Type Parameters
    Name Description
    T

    The interface type

    GetControlType(ControlDisplayInfo)

    Gets Control Type from ControlDisplayInfo

    Declaration
    Type GetControlType(ControlDisplayInfo info)
    Parameters
    Type Name Description
    ControlDisplayInfo info
    Returns
    Type Description
    Type

    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.