Search Results for

    Show / Hide Table of Contents

    Class ViewSerializedParamController

    This is the controller for editing all ViewSerializedParam parameters stored against a Param

    This is accessible to the user when using the LayoutDesigner and editing the properties of any view

    This controller also provides a way to edit the custom properties of any parameter that inherits from ViewSerializedParam
    Inheritance
    object
    PopupWindowController
    PopupWindowController<ViewSerializedParam>
    ParamViewerController<ViewSerializedParam>
    ViewSerializedParamController
    Implements
    IPopupWindowController<ViewSerializedParam>
    IParamViewerController
    IPopupWindowController
    IController
    Inherited Members
    ParamViewerController<ViewSerializedParam>.SetParam(ViewSerializedParam)
    ParamViewerController<ViewSerializedParam>.Display()
    ParamViewerController<ViewSerializedParam>.OriginalParam
    PopupWindowController<ViewSerializedParam>.InitFromWindow(IPopupWindow<ViewSerializedParam>)
    PopupWindowController<ViewSerializedParam>.InitCommands(IList<ViewCommand>)
    PopupWindowController<ViewSerializedParam>.OnOk(object)
    PopupWindowController<ViewSerializedParam>.OnOk(ViewSerializedParam)
    PopupWindowController<ViewSerializedParam>.Validate(ViewSerializedParam)
    PopupWindowController<ViewSerializedParam>.OnCancel()
    PopupWindowController<ViewSerializedParam>.OwningWindow
    PopupWindowController<ViewSerializedParam>.Commands
    PopupWindowController<ViewSerializedParam>.GetResult
    PopupWindowController.RootController
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class ViewSerializedParamController : ParamViewerController<ViewSerializedParam>, IPopupWindowController<ViewSerializedParam>, IParamViewerController, IPopupWindowController, IController

    Constructors

    ViewSerializedParamController(IParamViewer<ViewSerializedParam>, ViewSerializedParam)

    Creates a new view serialized param controller

    Declaration
    public ViewSerializedParamController(IParamViewer<ViewSerializedParam> window, ViewSerializedParam param)
    Parameters
    Type Name Description
    IParamViewer<ViewSerializedParam> window

    The popup parameter window this controller works with

    ViewSerializedParam param

    The original instance of the parameter to be edited by this controller

    Methods

    EditCustomParams(IModelLayoutCommon)

    Presents a custom popup window to the user for editing any custom properties associated with this view parameter

    This attempts to launch any custom parameter popups from a IViewSerializedParamDefaultEditor<T> implementation for the ViewSerializedParam type

    If none are found then it assumes there is an existing ParamSingleViewerController<T> implementation for the ViewSerializedParam type and launches the standard single param popup window editor
    Declaration
    public Task EditCustomParams(IModelLayoutCommon host)
    Parameters
    Type Name Description
    IModelLayoutCommon host

    The host context this window is running within

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    GetViewSource()

    Declaration
    public string GetViewSource()
    Returns
    Type Description
    string

    Implements

    IPopupWindowController<TResult>
    IParamViewerController
    IPopupWindowController
    IController

    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.