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
System.Object
ViewSerializedParamController
Inherited Members
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 editorDeclaration
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 |