Class TopCollectionWithBottomCollectionLayoutGenerator<T, TChild>
A default layout generator that creates a standard grid with a related collection grid beneath it
Inheritance
TopCollectionWithBottomCollectionLayoutGenerator<T, TChild>
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.DefaultLayouts.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public abstract class TopCollectionWithBottomCollectionLayoutGenerator<T, TChild> : TopCollectionWithBottomViewLayoutGenerator<T>, ILayoutGenerator where T : IBaseEntity where TChild : IBaseEntity
Type Parameters
Name | Description |
---|---|
T | The type of entity in the top grid |
TChild | The type of entity in the child bottom grid |
Constructors
TopCollectionWithBottomCollectionLayoutGenerator(IRootController)
Declaration
protected TopCollectionWithBottomCollectionLayoutGenerator(IRootController rootController)
Parameters
Type | Name | Description |
---|---|---|
IRootController | rootController |
Methods
GetBottomView(ViewDescriptorInstance)
Returns the bottom related collection grid
Declaration
protected override Task<ViewDescriptorInstance> GetBottomView(ViewDescriptorInstance topView)
Parameters
Type | Name | Description |
---|---|---|
ViewDescriptorInstance | topView | The parent top collection grid view |
Returns
Type | Description |
---|---|
Task<ViewDescriptorInstance> | The bottom related collection grid |