Search Results for

    Show / Hide Table of Contents

    Class DefaultEntityCollectionLayouts

    Creates a default layout generator for a specified entity descriptor that has a default collection grid view

    This single grid view takes up 100% of the layout

    This is used automatically by the system if a collection of entities needs to be displayed, but there are no layouts for it. As long as there is a grid it will generate this default layout that uses that for the entire layout
    Inheritance
    System.Object
    DefaultLayoutGenerator
    DefaultEntityCollectionLayouts
    Implements
    ILayoutGenerator
    Inherited Members
    DefaultLayoutGenerator.CanGenerateDefaultOrCustomLayout(String, String)
    DefaultLayoutGenerator.RegenerateDefaultLayouts()
    DefaultLayoutGenerator.GetDefaultLayoutGenerators()
    DefaultLayoutGenerator.GetDefaultLayoutGenerator(String, String)
    DefaultLayoutGenerator.GenerateLayout(ILayoutCreator, String, String)
    DefaultLayoutGenerator.LayoutHelpURL
    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 sealed class DefaultEntityCollectionLayouts : DefaultLayoutGenerator, ILayoutGenerator

    Constructors

    DefaultEntityCollectionLayouts(EntityDescriptor)

    Creates a new DefaultEntityCollectionLayouts for the specified entity type descriptor

    Declaration
    public DefaultEntityCollectionLayouts(EntityDescriptor descriptor)
    Parameters
    Type Name Description
    EntityDescriptor descriptor

    The type of entity to create a layout with a single grid in it for

    Methods

    CanGenerateLayout(String, String)

    Returns true if the uniqueLayoutName matches the SetName

    Declaration
    public override bool CanGenerateLayout(string uniqueLayoutName, string layoutParam)
    Parameters
    Type Name Description
    System.String uniqueLayoutName

    The unique layout name to generate a layout for

    System.String layoutParam

    Any optional parameters for the layout

    Returns
    Type Description
    System.Boolean

    True if the uniqueLayoutName matches the SetName

    Overrides
    DefaultLayoutGenerator.CanGenerateLayout(String, String)

    GenerateLayout(String, String)

    Creates a new layout that has a single IBaseGrid grid of the specified entity type that takes 100% of the layout

    Declaration
    public override Task<LayoutDescriptor> GenerateLayout(string uniqueLayoutName, string layoutParam)
    Parameters
    Type Name Description
    System.String uniqueLayoutName

    The name of the layout being generated

    System.String layoutParam

    ANy optional parameters for the layout

    Returns
    Type Description
    System.Threading.Tasks.Task<LayoutDescriptor>

    A new layout that has a single IBaseGrid grid of the specified entity type that takes 100% of the layout

    Overrides
    DefaultLayoutGenerator.GenerateLayout(String, String)

    Implements

    ILayoutGenerator

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.