Namespace Estrelica.Archer.Metadata.Field.Properties
Interfaces
This interface returns the maximum selections that are allowed for a field (or null if no maximum is defined). This property is supported natively by the UserGroupsList and ValuesList fields, and is supported by proxy on Attachment and Image fields (returning their native "MaxAttachmentsAllowed" property) as well as the reference fields (Cross Reference, Related Records and Subform) returning their native "MaxValue" property. This "proxy" behavior is intended to simplify cases where the code only cares about how many things can be referenced by the field (e.g. values, images, related records) without having to first identify the field type in order to decide which property contains that information. In short, if a field object supports the IMaximumSelectionProperty interface, MaximumSelection will let you know a) that it's a field capable of referencing some other entity (e.g. a values list value, an attachment or image, or another record in Archer) as well as how many of those entities are allowed for each record. |
This interface combines the IMinimumSelectionProperty and IMaximumSelectionProperty interfaces. Field types that support both IMinimumSelectionProperty and IMaximumSelectionProperty can also be referenced by this interface when both properties are needed. |