Class DisplayableItemDescriptorForCollection<T>
The DisplayableItemDescriptor for an item that should display a collection of entity types
The Item is not the entity collection itself, that is loaded by the views however they like, simply a CollectionItem class that represents what type of collection should be loaded and displayed
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: ClientCore.dll
Syntax
public class DisplayableItemDescriptorForCollection<T> : DisplayableItemDescriptor, IEquatable<DisplayableItemDescriptor> where T : IBaseEntity
Type Parameters
Name | Description |
---|---|
T | The type of entity to be loaded and displayed as a collection |
Constructors
DisplayableItemDescriptorForCollection(IEntityUpdaterUI)
Creates a new instance of collection displayable item descriptor
Declaration
public DisplayableItemDescriptorForCollection(IEntityUpdaterUI context)
Parameters
Type | Name | Description |
---|---|---|
IEntityUpdaterUI | context | The context updater this descriptor and IModelLayoutDisplayer will operate within |
Properties
ImageID
The image is the DefaultIconID for the specified entity type T
Declaration
public override Guid ImageID { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Overrides
Item
Declaration
public override object Item { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
LabelBinding
The label binding is the name of the collection which binds to Label
Declaration
public override string LabelBinding { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
OverlayImageID
The overlay image is of a grid for a collection of these items
Declaration
public override Guid? OverlayImageID { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Overrides
UniqueLayoutDisplayName
The unique name for loading a layout to display this item is SetName
Declaration
public override string UniqueLayoutDisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
Equals(DisplayableItemDescriptor)
Declaration
public override bool Equals(DisplayableItemDescriptor other)
Parameters
Type | Name | Description |
---|---|---|
DisplayableItemDescriptor | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Recreate()
Recreates this descriptor instance with a new Context
Declaration
public override Task<DisplayableItemDescriptor> Recreate()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DisplayableItemDescriptor> | A new descriptor instance identical to this one with a new Context |