Class ItemSelectorDefaultLayoutAttribute
Used to indicate an ILayoutGenerator implementation should be used as the view for selecting that type of item in a popup when choosing relationships
By default the system will use the default layout for a displaying a grid of those items.
However this will indicate that this layout should be used instead allowing you a default layout for viewing the entity types, and a different default layout for choosing from among those items in any popup windowInherited Members
Namespace: LemonEdge.Client.Core.Views.DefaultLayouts
Assembly: LemonEdge.ClientCore.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class ItemSelectorDefaultLayoutAttribute : Attribute
Constructors
ItemSelectorDefaultLayoutAttribute(EntityID)
Creates a new ItemSelectorDefaultLayoutAttribute for the specified system entity type
Declaration
public ItemSelectorDefaultLayoutAttribute(EntityID forType)
Parameters
Type | Name | Description |
---|---|---|
EntityID | forType | The entity type to provide a different default layout generator for when the user is selecting items of that entity type |
ItemSelectorDefaultLayoutAttribute(string)
Creates a new ItemSelectorDefaultLayoutAttribute for the specified system entity type
Declaration
public ItemSelectorDefaultLayoutAttribute(string forTypeGuid)
Parameters
Type | Name | Description |
---|---|---|
string | forTypeGuid | The entity type to provide a different default layout generator for when the user is selecting items of that entity type |
Properties
ForDescriptor
The descriptor this ILayoutGenerator implementation is providing a new default layout for when the user is selecting from items of those types
Declaration
public EntityDescriptor ForDescriptor { get; }
Property Value
Type | Description |
---|---|
EntityDescriptor |