Class FormElementDataItem
- Namespace
- JJMasterData.Core.DataDictionary.Models
- Assembly
- JJMasterData.Core.dll
Configurações de objetos do tipo lista
public class FormElementDataItem
- Inheritance
-
FormElementDataItem
- Inherited Members
Remarks
2017-03-22 JJTeam
Properties
Command
Command executed to recover DataItemValues. Returns two columns:
- Id;
- Description.
[JsonProperty("command")]
public DataAccessCommand? Command { get; set; }
Property Value
DataItemType
[JsonProperty("dataItemType")]
public DataItemType DataItemType { get; set; }
Property Value
ElementMap
Relationship with another Element to recover values
[JsonProperty("elementMap")]
public DataElementMap? ElementMap { get; set; }
Property Value
EnableMultiSelect
[JsonProperty("enableMultiSelect")]
[Display(Name = "Enable Multi Select")]
public bool EnableMultiSelect { get; set; }
Property Value
Remarks
Be careful when using this option. You should probably use this option only for WriteOnly fields or store the values in another table.
FirstOption
Exibir texto (Todos) como primeira opção (Default = NONE)
[JsonProperty("firstoption")]
[Display(Name = "First Option")]
public FirstOptionMode FirstOption { get; set; }
Property Value
GridBehavior
[Display(Name = "Grid Behavior")]
[JsonProperty("gridBehavior")]
public DataItemGridBehavior GridBehavior { get; set; }
Property Value
Items
[JsonProperty("itens")]
public List<DataItemValue>? Items { get; set; }
Property Value
RadioLayout
[JsonProperty("radioLayout")]
[Display(Name = "Layout")]
public DataItemRadioLayout? RadioLayout { get; set; }
Property Value
ShowIcon
Permite incluir imagens na lista como legendas
[JsonProperty("showimagelegend")]
[Display(Name = "Show Icon")]
public bool ShowIcon { get; set; }
Property Value
Remarks
Exibir como Legenda inclui imagem nos componentes combobox e na grid.
Para exibir apenas a imagem de status na grid certifique-se a propriedade ReplaceTextOnGrid esta configurada para falso.Methods
DeepCopy()
public FormElementDataItem DeepCopy()
Returns
HasElementMap()
public bool HasElementMap()
Returns
HasItems()
public bool HasItems()
Returns
HasSqlCommand()
public bool HasSqlCommand()
Returns
SupportsFloatingLabels()
public bool SupportsFloatingLabels()