Class AdditionalDataDefinition
- Namespace
- GroupeIsa.Neos.Designer.UIAbstractions
- Assembly
- GroupeIsa.Neos.Designer.UIAbstractions.dll
Represents the definition of an additional data (custom) field of an entity, for the current tenant.
[ExcludeFromCodeCoverage]
public class AdditionalDataDefinition
- Inheritance
-
AdditionalDataDefinition
- Inherited Members
Remarks
The value of a field is held by the customFields property of an item, under JsonName.
Its view model property is named customFields.{Name}. The class is only used by transpiled code: its members are
not implemented in .NET.
Constructors
AdditionalDataDefinition()
Initializes a new instance of the AdditionalDataDefinition class.
protected AdditionalDataDefinition()
Properties
Caption
Gets the caption, in the language of the user.
public string? Caption { get; }
Property Value
ChoiceValues
Gets the allowed values of a Choice field.
public IReadOnlyList<string>? ChoiceValues { get; }
Property Value
FormPosition
Gets the position of the field in the additional data area of a form.
public int FormPosition { get; }
Property Value
Format
Gets the display format.
public string? Format { get; }
Property Value
GridPosition
Gets the position of the field among the additional columns of a grid.
public int GridPosition { get; }
Property Value
IsArray
Gets a value indicating whether the field holds several values.
public bool IsArray { get; }
Property Value
JsonName
Gets the field name in the JSON payloads (camel case).
public string JsonName { get; }
Property Value
MaxLength
Gets the maximum length of a text value.
public int? MaxLength { get; }
Property Value
- int?
MaxValue
Gets the maximum value of a number.
public decimal? MaxValue { get; }
Property Value
MinValue
Gets the minimum value of a number.
public decimal? MinValue { get; }
Property Value
Name
Gets the field name.
public string Name { get; }
Property Value
Required
Gets a value indicating whether a value is required.
public bool Required { get; }
Property Value
ShowInForm
Gets a value indicating whether the field is displayed in forms.
public bool ShowInForm { get; }
Property Value
ShowInGrid
Gets a value indicating whether the field is displayed in grids.
public bool ShowInGrid { get; }
Property Value
Type
Gets the value type.
public AdditionalDataType Type { get; }
Property Value
Visible
Gets a value indicating whether the field is visible by default in grids.
public bool Visible { get; }