Class FormElement
- Namespace
- JJMasterData.Core.DataDictionary.Models
- Assembly
- JJMasterData.Core.dll
public class FormElement : Element
- Inheritance
-
FormElement
- Inherited Members
-
Constructors
public FormElement(Element element)
Parameters
element
Element
public FormElement(DataTable schema)
Parameters
schema
DataTable
Properties
[Required]
[JsonProperty("apiOptions")]
public FormElementApiOptions ApiOptions { get; set; }
Property Value
- FormElementApiOptions
[Required]
[JsonProperty("fields")]
public FormElementFieldList Fields { get; }
Property Value
- FormElementFieldList
[JsonProperty("icon")]
public IconType? Icon { get; set; }
Property Value
- IconType?
[Required]
[JsonProperty("options")]
public FormElementOptions Options { get; set; }
Property Value
- FormElementOptions
[Required]
[JsonProperty("panels")]
public List<FormElementPanel> Panels { get; set; }
Property Value
- List<FormElementPanel>
[Required]
[JsonProperty("relations")]
public FormElementRelationshipList Relationships { get; }
Property Value
- FormElementRelationshipList
[JsonProperty]
[Display(Name = "SubTitle")]
public string? SubTitle { get; set; }
Property Value
- string
[JsonProperty]
[Display(Name = "Title")]
public string? Title { get; set; }
Property Value
- string
[JsonProperty]
[Display(Name = "Title Size")]
public HeadingSize TitleSize { get; set; }
Property Value
- HeadingSize
[JsonProperty("typeIdentifier")]
public char TypeIdentifier { get; init; }
Property Value
- char
Methods
public FormElement DeepCopy()
Returns
- FormElement
public FormElementPanel GetPanelById(int id)
Parameters
id
int
Returns
- FormElementPanel