Class DatasetShortcutHeaderController
Inheritance
DatasetShortcutHeaderController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class DatasetShortcutHeaderController : BaseDefaultSingleViewController<IDataset>, IModelViewController
Constructors
DatasetShortcutHeaderController(IBaseDefaultSingleView<IDataset>)
Declaration
public DatasetShortcutHeaderController(IBaseDefaultSingleView<IDataset> view)
Parameters
| Type | Name | Description |
|---|---|---|
| IBaseDefaultSingleView<IDataset> | 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.IDataset>.ControlNames()
DisplayControlItem(ControlDisplayInfo, IDataset)
Declaration
public override Task DisplayControlItem(ControlDisplayInfo control, IDataset item)
Parameters
| Type | Name | Description |
|---|---|---|
| ControlDisplayInfo | control | |
| IDataset | item |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.API.Entities.Reporting.IDataset>.DisplayControlItem(LemonEdge.Client.UI.API.Controls.ControlDisplayInfo, LemonEdge.API.Entities.Reporting.IDataset)
DisplayUI()
Loads all the controls dynamically into the SingleView if they haven't been already, loads the item to be displayed and then displays it against the view itself
Declaration
public override Task DisplayUI()
Returns
| Type | Description |
|---|---|
| Task |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.API.Entities.Reporting.IDataset>.DisplayUI()
GetControlEntityDescriptor(string)
Declaration
protected override EntityDescriptor GetControlEntityDescriptor(string propName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propName |
Returns
| Type | Description |
|---|---|
| EntityDescriptor |
Overrides
InitCommands(IList<ViewCommand>)
Provides the inheriting class an opportunity to add custom commands to this controller
Declaration
protected override void InitCommands(IList<ViewCommand> commands)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<ViewCommand> | commands | The current set of commands for this controller |