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
    System.Object
    PopupWindowController
    PopupWindowController<ViewSerializedParam>
    ParamViewerController<ViewSerializedParam>
    ViewSerializedParamController
    Implements
    IParamViewerController
    IPopupWindowController
    IController
    Inherited Members
    ParamViewerController<ViewSerializedParam>.OriginalParam
    ParamViewerController<ViewSerializedParam>.IParamViewerController.OriginalParam
    ParamViewerController<ViewSerializedParam>.SetParam(ViewSerializedParam)
    ParamViewerController<ViewSerializedParam>.Display()
    PopupWindowController<ViewSerializedParam>.InitCommands(IList<ViewCommand>)
    PopupWindowController<ViewSerializedParam>.OwningWindow
    PopupWindowController<ViewSerializedParam>.Commands
    PopupWindowController<ViewSerializedParam>.OnOk(Object)
    PopupWindowController<ViewSerializedParam>.OnOk(ViewSerializedParam)
    PopupWindowController<ViewSerializedParam>.Validate(ViewSerializedParam)
    PopupWindowController<ViewSerializedParam>.OnCancel()
    PopupWindowController<ViewSerializedParam>.GetResult
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Views.Core
    Assembly: ClientCore.dll
    Syntax
    public class ViewSerializedParamController : ParamViewerController<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
    System.Threading.Tasks.Task

    A task indicating the completion of the operation

    Implements

    IParamViewerController
    IPopupWindowController
    IController

    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.