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 ViewSerializedParamInheritance
ViewSerializedParamController
Implements
Inherited Members
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 editorDeclaration
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 |