Class LeftCollectionWithRightCollectionLayoutGenerator<T, CHILDT>
A default layout generator that creates a standard IBaseGrid view of type T on the left, and a child IBaseGridRelatedCollection<SI, T> of type CHILDT on the right
Inheritance
System.Object
LeftCollectionWithRightCollectionLayoutGenerator<T, CHILDT>
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.Client.Core.Views.DefaultLayouts
Assembly: ClientCore.dll
Syntax
public class LeftCollectionWithRightCollectionLayoutGenerator<T, CHILDT> : LeftCollectionWithRightViewLayoutGenerator<T>, ILayoutGenerator where T : IBaseEntity where CHILDT : IBaseEntity
Type Parameters
| Name | Description |
|---|---|
| T | The type of entity that is in the grid on the left of this layout |
| CHILDT | The type of entity that is in the grid on the right of this layout and a child of the left grid |
Methods
GetChildView(ViewDescriptorInstance)
Returns a IBaseGridRelatedCollection<SI, T> 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<SI, T> as a child grid on the right of this layout |
Overrides
LemonEdge.Client.Core.Views.DefaultLayouts.LeftCollectionWithRightViewLayoutGenerator<T>.GetChildView(LemonEdge.Client.Core.Views.Core.ViewDescriptorInstance)