Interface IViewSerializedParamDefaultEditor
If a IModelView has any parameters (defined using Param) the type must inherit ViewSerializedParam
By default it is assumed the parameters have an associated ParamSingleViewerController<T> and the system presents a popup editor using that
This interface provides a custom way of editing those parameters with a custom parameter view. In order for the system to always be able to edit these parameters from anywhere the IViewSerializedParamDefaultEditor<T> should be implementedNamespace: LemonEdge.Client.Core.Views.Core
Assembly: ClientCore.dll
Syntax
public interface IViewSerializedParamDefaultEditor
Methods
DisplayCustomParams(ViewSerializedParam, IModelLayoutCommon)
Provides a default popup parameter window to the user for the specified original
parameter values within the specified host
Declaration
Task<ViewSerializedParam> DisplayCustomParams(ViewSerializedParam original, IModelLayoutCommon host)
Parameters
Type | Name | Description |
---|---|---|
ViewSerializedParam | original | The original value of the parameters to display |
IModelLayoutCommon | host | The host this popup parameter window operates within |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ViewSerializedParam> | The new parameters modified by the user, or same as |