Class TransactionFromSplitController
Inheritance
TransactionFromSplitController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class TransactionFromSplitController : BaseDefaultSingleViewController<ISplitTransaction>, IModelViewController
Constructors
TransactionFromSplitController(IBaseDefaultSingleView<ISplitTransaction>)
Declaration
public TransactionFromSplitController(IBaseDefaultSingleView<ISplitTransaction> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseDefaultSingleView<ISplitTransaction> | view |
Properties
SelectedItemForSubViews
Returns the item this view holds that can be passed to sub views
This controller can change the item is passes to sub views (such as when this represents the selected item in a grid) by calling UpdateSubViews(IModelView, bool)
Declaration
public override object SelectedItemForSubViews { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.API.Entities.FinancialServices.Transactions.ISplitTransaction>.SelectedItemForSubViews
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.FinancialServices.Transactions.ISplitTransaction>.ControlNames()
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.FinancialServices.Transactions.ISplitTransaction>.DisplayUI()