Class TopCollectionWithBottomChildSingleLayoutGenerator<T>
A default layout generator that creates a standard IBaseGrid view of type T
on the top, and a child IBaseDefaultSingleView<T> of type T
on the bottom
Inheritance
TopCollectionWithBottomChildSingleLayoutGenerator<T>
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.DefaultLayouts.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class TopCollectionWithBottomChildSingleLayoutGenerator<T> : TopCollectionWithBottomViewLayoutGenerator<T>, ILayoutGenerator where T : IBaseEntity
Type Parameters
Name | Description |
---|---|
T | The type of entity that is in the grid on the top of this layout, and in the single view in the bottom |
Constructors
TopCollectionWithBottomChildSingleLayoutGenerator(IRootController)
Declaration
public TopCollectionWithBottomChildSingleLayoutGenerator(IRootController rootController)
Parameters
Type | Name | Description |
---|---|---|
IRootController | rootController |
Methods
GetBottomView(ViewDescriptorInstance)
Returns a IBaseDefaultSingleView<T> as a child view on the bottom of this layout
Declaration
protected override Task<ViewDescriptorInstance> GetBottomView(ViewDescriptorInstance topView)
Parameters
Type | Name | Description |
---|---|---|
ViewDescriptorInstance | topView | The collection grid of type |
Returns
Type | Description |
---|---|
Task<ViewDescriptorInstance> | A IBaseDefaultSingleView<T> as a child grid on the bottom of this layout |