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.Controller
    IWindow.CloseWindow()
    IWindow.ShowDialog()
    IWindow.Show()
    IWindow.SetOwner(IWindow)
    Namespace: LemonEdge.Client.Core.Support
    Assembly: 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

    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

    DisplayObjectOnControls(Object)

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

    Declaration
    void DisplayObjectOnControls(object item)
    Parameters
    Type Name Description
    System.Object item

    The item to display against the controls

    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

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.