Wealth-Lab Framework
Search Framework:
IParameterEditor
Namespace: WealthLab.Core
Parent:
Parent:
The IParameterEditor interface represents a parameter editor that displays and edits a ParameterList. It provides methods that allow an IParameterized object to interact with the editor when a Parameter is changed, including retrieving Parameter values, changing label text, and enabling or disabling controls.
Members
Parameters
ParameterList Parameters { get; set; }
Gets or sets the ParameterList being managed by the parameter editor.
Methods
ChangeLabelText
void ChangeLabelText(string paramName, string text);
Changes the label displayed for the Parameter named paramName to the specified text.
EnableControl
void EnableControl(string paramName, bool enable);
Enables or disables the editor control associated with the Parameter named paramName. Pass true to enable the control or false to disable it.
GetParameterValue
object GetParameterValue(string paramName);
Returns the current value of the Parameter named paramName.