Class ChartController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class ChartController : BaseDefaultSingleViewController<IChart>, IModelViewController
Constructors
ChartController(IBaseDefaultSingleView<IChart>)
Declaration
public ChartController(IBaseDefaultSingleView<IChart> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseDefaultSingleView<IChart> | view |
Properties
ContextHelpURL
An optional associated url of a help file for the view this controller works with
Declaration
public override string ContextHelpURL { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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.API.Entities.Reporting.IChart>.ControlNames()
LoadSingleItem()
Provides an inheriting class the opportunity to load the single entity item this view should display
Declaration
public override Task<IChart> LoadSingleItem()
Returns
Type | Description |
---|---|
Task<IChart> | The instance of the entity of type IChart that this controller is displaying/editing |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.API.Entities.Reporting.IChart>.LoadSingleItem()