Search Results for

    Show / Hide Table of Contents

    Interface IParamSingleViewer<T>

    A standard popup window implemented in each LemonEdge client that allows the creation of custom controls for each property on the parameter T that you want the user to see/edit, controlled by the ParamSingleViewerController<T>

    Inherited Members
    IParamViewer<T>.Init(IModelLayoutCommon)
    IParamViewer<T>.Display(T)
    IPopupWindow<T>.InitController(PopupWindowController<T>)
    IWindow.CloseWindow()
    IWindow.ShowDialog()
    IWindow.Show()
    IWindow.SetOwner(IWindow)
    IWindow.Controller
    Namespace: LemonEdge.Client.Core.Support
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public interface IParamSingleViewer<T> : IParamViewer<T>, IPopupWindow<T>, IWindow where T : SerializedParam
    Type Parameters
    Name Description
    T

    The type that holds the parameters that the user can view/edit

    Properties

    Host

    THe owning host of this popup window

    Declaration
    IModelLayoutCommon Host { get; }
    Property Value
    Type Description
    IModelLayoutCommon

    Methods

    ClearControls()

    Clears all controls for redisplaying new controls.

    Declaration
    void ClearControls()

    CreateControl(ControlDisplayInfo)

    Indicates the interface should create the specified control in the popup window form

    Declaration
    void CreateControl(ControlDisplayInfo info)
    Parameters
    Type Name Description
    ControlDisplayInfo info

    A description of the control to be created by the form

    DisplayBusy(string)

    Declaration
    void DisplayBusy(string message)
    Parameters
    Type Name Description
    string message

    DisplayObjectOnControls(object)

    Displays the dummy object instance against the created bound controls instead of T

    Declaration
    void DisplayObjectOnControls(object item)
    Parameters
    Type Name Description
    object item

    The item to display against the controls

    StopBusy()

    Declaration
    void StopBusy()

    UpdateControl(ControlDisplayInfo)

    Indicates the popup window form should refresh the display/setup of the specified control

    Declaration
    void UpdateControl(ControlDisplayInfo info)
    Parameters
    Type Name Description
    ControlDisplayInfo info

    The control to refresh the setup/display of. The control is identified using the Index property

    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.