Class OpenCommandParamController
A parameter controller for the OpenPickerCommandParam parameter which holds an entity type
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Commands.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class OpenCommandParamController : ParamSingleViewerController<OpenPickerCommandParam>, IPopupWindowController<OpenPickerCommandParam>, IParamViewerController, IPopupWindowController, IController
Constructors
OpenCommandParamController(IParamSingleViewer<OpenPickerCommandParam>, OpenPickerCommandParam)
Creates a new OpenCommandParamController
Declaration
public OpenCommandParamController(IParamSingleViewer<OpenPickerCommandParam> window, OpenPickerCommandParam param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<OpenPickerCommandParam> | window | The popup single parameter window to display these parameters |
OpenPickerCommandParam | param | The initial parameter values to display |
Methods
AlterControlInfo(ControlDisplayInfo)
Providse the correct relationship selections for the ControlNames()
Declaration
protected override void AlterControlInfo(ControlDisplayInfo info)
Parameters
Type | Name | Description |
---|---|---|
ControlDisplayInfo | info | The control to alter its selection for |
Overrides
ControlNames()
The controls for this parameter are for the EntityTypeID, EntityID and CustomLayout
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfoLight> | The controls for this parameter are for the EntityTypeID, EntityID and CustomLayout |
Overrides
Display()
Controller implements to cache all the layouts in the system
Declaration
public override Task Display()
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |
Overrides
OnItemChanged(object, PropertyChangedEventArgs)
Fires if the type OpenPickerCommandParam implements INotifyPropertyChanged, for every change in the property
Declaration
protected override void OnItemChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
object | sender | The sender of the event |
PropertyChangedEventArgs | e | THe event argumnets holding the property changed |