Class CollectionItem
The base item that is used for an Item in a LemonEdge.Client.Core.Views.Core.DisplayableItemDescriptorForCollection<T> instance
This item simply indicates that this is the type of entity to be loaded as a collection - it does not load anything itself so has no cost. That is the responsibility of the views in the IModelLayoutDisplayer for this item
Inherited Members
Namespace: LemonEdge.Client.UI.API.Views
Assembly: LemonEdge.Client.UI.API.dll
Syntax
public abstract class CollectionItem
Constructors
CollectionItem(EntityDescriptor)
Creates a new collection item indicating the specified entity type to display
Declaration
protected CollectionItem(EntityDescriptor descriptor)
Parameters
Type | Name | Description |
---|---|---|
EntityDescriptor | descriptor | The type of entity to be displayed as a collection |
Properties
Descriptor
The descriptor for the entity type this collection displays
Declaration
public EntityDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
EntityDescriptor |
Items
Sub-Items held by the parent item
Declaration
public IEnumerable Items { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable |
Label
The label to be used for the GetLabel()
Returns the SetName for this Descriptor
Declaration
public string Label { get; }
Property Value
Type | Description |
---|---|
string |
LabelOverride
Declaration
public string LabelOverride { get; set; }
Property Value
Type | Description |
---|---|
string |