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