Class SingleViewControllerViewParamsController
The controller for editing the SingleViewControllerCustomViewParams in a popup single parameter window
We do not need an associated IViewSerializedParamDefaultEditor implementation as this is a standard popup single parameter editor. We only need that if it has a custom editor
Inheritance
SingleViewControllerViewParamsController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class SingleViewControllerViewParamsController : ParamSingleViewerController<SingleViewControllerCustomViewParams>, IPopupWindowController<SingleViewControllerCustomViewParams>, IParamViewerController, IPopupWindowController, IController
Constructors
SingleViewControllerViewParamsController(IParamSingleViewer<SingleViewControllerCustomViewParams>, SingleViewControllerCustomViewParams)
Creates a new SingleViewControllerCustomViewParams controller
Declaration
public SingleViewControllerViewParamsController(IParamSingleViewer<SingleViewControllerCustomViewParams> window, SingleViewControllerCustomViewParams param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<SingleViewControllerCustomViewParams> | window | The single popup param window this controller is for |
SingleViewControllerCustomViewParams | param | The original parameter value to be displayed and edited by the user |
Methods
AlterControlInfo(ControlDisplayInfo)
Alters the CustomViewID to use the correct relationship to ICustomView
Declaration
protected override void AlterControlInfo(ControlDisplayInfo info)
Parameters
Type | Name | Description |
---|---|---|
ControlDisplayInfo | info | The control to alter with additional settings |
Overrides
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<LemonEdge.Client.Core.Views.Core.SingleViewControllerCustomViewParams>.AlterControlInfo(LemonEdge.Client.UI.API.Controls.ControlDisplayInfo)
ControlNames()
Adds a control for the CustomViewID
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfoLight> | A list of all controls to be shown for editing in this popup |
Overrides
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<LemonEdge.Client.Core.Views.Core.SingleViewControllerCustomViewParams>.ControlNames()