Class LeftCollectionWithRightCollectionLayoutGenerator<T, TChild>
A default layout generator that creates a standard IBaseGrid view of type T
on the left, and a child IBaseGridRelatedCollection<TParentSingleItem, TCollection> of type TChild
on
the right
Inheritance
LeftCollectionWithRightCollectionLayoutGenerator<T, TChild>
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.DefaultLayouts.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class LeftCollectionWithRightCollectionLayoutGenerator<T, TChild> : LeftCollectionWithRightViewLayoutGenerator<T>, ILayoutGenerator where T : IBaseEntity where TChild : IBaseEntity
Type Parameters
Name | Description |
---|---|
T | The type of entity that is in the grid on the left of this layout |
TChild | The type of entity that is in the grid on the right of this layout and a child of the left grid |
Constructors
LeftCollectionWithRightCollectionLayoutGenerator(IRootController)
Declaration
public LeftCollectionWithRightCollectionLayoutGenerator(IRootController rootController)
Parameters
Type | Name | Description |
---|---|---|
IRootController | rootController |
Methods
GetChildView(ViewDescriptorInstance)
Returns a IBaseGridRelatedCollection<TParentSingleItem, TCollection> as a child grid on the right of this layout
Declaration
protected override ViewDescriptorInstance GetChildView(ViewDescriptorInstance parent)
Parameters
Type | Name | Description |
---|---|---|
ViewDescriptorInstance | parent | The collection grid of type |
Returns
Type | Description |
---|---|
ViewDescriptorInstance | A IBaseGridRelatedCollection<TParentSingleItem, TCollection> as a child grid on the right of this layout |