Table of Contents

Class FormElement

Namespace
JJMasterData.Core.DataDictionary.Models
Assembly
JJMasterData.Core.dll
public class FormElement : Element
Inheritance
FormElement
Inherited Members

Constructors

FormElement()

public FormElement()

FormElement(Element)

public FormElement(Element element)

Parameters

element Element

FormElement(DataTable)

public FormElement(DataTable schema)

Parameters

schema DataTable

Properties

ApiOptions

[Required]
[JsonProperty("apiOptions")]
public FormElementApiOptions ApiOptions { get; set; }

Property Value

FormElementApiOptions

Fields

[Required]
[JsonProperty("fields")]
public FormElementFieldList Fields { get; }

Property Value

FormElementFieldList

Icon

[JsonProperty("icon")]
public IconType? Icon { get; set; }

Property Value

IconType?

Options

[Required]
[JsonProperty("options")]
public FormElementOptions Options { get; set; }

Property Value

FormElementOptions

Panels

[Required]
[JsonProperty("panels")]
public List<FormElementPanel> Panels { get; set; }

Property Value

List<FormElementPanel>

Relationships

[Required]
[JsonProperty("relations")]
public FormElementRelationshipList Relationships { get; }

Property Value

FormElementRelationshipList

SubTitle

[JsonProperty]
[Display(Name = "SubTitle")]
public string? SubTitle { get; set; }

Property Value

string

Title

[JsonProperty]
[Display(Name = "Title")]
public string? Title { get; set; }

Property Value

string

TitleSize

[JsonProperty]
[Display(Name = "Title Size")]
public HeadingSize TitleSize { get; set; }

Property Value

HeadingSize

TypeIdentifier

[JsonProperty("typeIdentifier")]
public char TypeIdentifier { get; init; }

Property Value

char

Methods

DeepCopy()

public FormElement DeepCopy()

Returns

FormElement

GetPanelById(int)

public FormElementPanel GetPanelById(int id)

Parameters

id int

Returns

FormElementPanel