Search Results for

    Show / Hide Table of Contents

    Class DisplayableItemDescriptorForCollectionAny<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

    Inheritance
    object
    DisplayableItemDescriptor
    DisplayableItemDescriptorForCollectionAny<T>
    Implements
    IEquatable<DisplayableItemDescriptor>
    Inherited Members
    DisplayableItemDescriptor.ItemParams
    DisplayableItemDescriptor.SetLayoutDisplayParam(string)
    DisplayableItemDescriptor.GetTooltip()
    DisplayableItemDescriptor.GetLabel()
    DisplayableItemDescriptor.GetLabelWithChanges()
    DisplayableItemDescriptor.Clone(IEntityUpdaterUI)
    DisplayableItemDescriptor.RefreshItemParams()
    DisplayableItemDescriptor.Equals(object)
    DisplayableItemDescriptor.GetHashCode()
    DisplayableItemDescriptor.HelpURL
    DisplayableItemDescriptor.LayoutDisplayParam
    DisplayableItemDescriptor.ReadOnly
    DisplayableItemDescriptor.Context
    DisplayableItemDescriptor.ParentLayout
    DisplayableItemDescriptor.CustomLayoutOverrideID
    DisplayableItemDescriptor.CustomLayoutOverride
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.Client.Core.Views.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class DisplayableItemDescriptorForCollectionAny<T> : DisplayableItemDescriptor, IEquatable<DisplayableItemDescriptor> where T : class
    Type Parameters
    Name Description
    T

    The type of entity to be loaded and displayed as a collection

    Constructors

    DisplayableItemDescriptorForCollectionAny(IEntityUpdater)

    Declaration
    public DisplayableItemDescriptorForCollectionAny(IEntityUpdater context)
    Parameters
    Type Name Description
    IEntityUpdater context

    DisplayableItemDescriptorForCollectionAny(IEntityUpdater, string)

    Creates a new instance of collection displayable item descriptor

    Declaration
    public DisplayableItemDescriptorForCollectionAny(IEntityUpdater context, string headerLabel)
    Parameters
    Type Name Description
    IEntityUpdater context

    The context updater this descriptor and IModelLayoutDisplayer will operate within

    string headerLabel

    Properties

    ImageID

    The image is the DefaultIconID for the specified entity type T

    Declaration
    public override Guid ImageID { get; }
    Property Value
    Type Description
    Guid
    Overrides
    DisplayableItemDescriptor.ImageID

    Item

    The actual item to be displayed by the IModelLayoutDisplayer

    Declaration
    public override object Item { get; }
    Property Value
    Type Description
    object
    Overrides
    DisplayableItemDescriptor.Item

    LabelBinding

    The label binding is the name of the collection which binds to Label

    Declaration
    public override string LabelBinding { get; }
    Property Value
    Type Description
    string
    Overrides
    DisplayableItemDescriptor.LabelBinding

    OverlayImageID

    The overlay image is of a grid for a collection of these items

    Declaration
    public override Guid? OverlayImageID { get; }
    Property Value
    Type Description
    Guid?
    Overrides
    DisplayableItemDescriptor.OverlayImageID

    UniqueLayoutDisplayName

    The unique name for loading a layout to display this item is SetName

    Declaration
    public override string UniqueLayoutDisplayName { get; }
    Property Value
    Type Description
    string
    Overrides
    DisplayableItemDescriptor.UniqueLayoutDisplayName

    Methods

    ClearItem()

    Declaration
    public override void ClearItem()
    Overrides
    DisplayableItemDescriptor.ClearItem()

    Equals(DisplayableItemDescriptor)

    Declaration
    public override bool Equals(DisplayableItemDescriptor other)
    Parameters
    Type Name Description
    DisplayableItemDescriptor other
    Returns
    Type Description
    bool
    Overrides
    DisplayableItemDescriptor.Equals(DisplayableItemDescriptor?)

    Recreate()

    Recreates this descriptor instance with a new Context

    Declaration
    public override Task<DisplayableItemDescriptor> Recreate()
    Returns
    Type Description
    Task<DisplayableItemDescriptor>

    A new descriptor instance identical to this one with a new Context

    Overrides
    DisplayableItemDescriptor.Recreate()

    Implements

    IEquatable<T>

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.