Class APIQueryViewController
Inheritance
APIQueryViewController
Implements
Inherited Members
Namespace: LemonEdge.ApiConnector.UI.Views
Assembly: LemonEdge.ApiConnector.UI.dll
Syntax
public class APIQueryViewController : BaseDefaultSingleViewController<IAPIQuery>, IModelViewController
Constructors
APIQueryViewController(IBaseDefaultSingleView<IAPIQuery>)
Declaration
public APIQueryViewController(IBaseDefaultSingleView<IAPIQuery> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseDefaultSingleView<IAPIQuery> | view |
Properties
ViewDisplayType
Indicates how the controls should be laid out in the client application ui for the view (in compatible UIs)
The default is HorizontalWrapPanel
Declaration
public override CustomViewDisplayType ViewDisplayType { get; }
Property Value
Type | Description |
---|---|
CustomViewDisplayType |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.ApiConnector.Entities.IAPIQuery>.ViewDisplayType
Methods
ControlNames()
A list of all the controls to be dynamically created in the SingleView
This is used by the system to create the actual ControlDisplayInfo classes required from the Controls() property
You can override this to provide a simple definition of each control (combined with AlterControlInfo(ControlDisplayInfo) for more detail), or you can just override Controls() and ignore thisDeclaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfoLight> | A list of all the controls to be dynamically created in the SingleView |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.ApiConnector.Entities.IAPIQuery>.ControlNames()
Controls()
A list of all the controls to be dynamically created in the SingleView
Can be overridden by the inheriting class to indicate the controls required. Typically you can override ControlNames() for a lighter approach and AlterControlInfo(ControlDisplayInfo) for any specific detail
Declaration
protected override IEnumerable<ControlDisplayInfo> Controls()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfo> | A list of all the controls to be dynamically created in the SingleView |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.ApiConnector.Entities.IAPIQuery>.Controls()