Class FieldModel
- Namespace
- The.Web.Entities
- Assembly
- Instagile.Web.Client.dll
public sealed class FieldModel
- Inheritance
-
FieldModel
- Inherited Members
-
Constructors
FieldModel(PropertyBinding, Type, Type?, string?, string?, int, int?, PredicateResult, PredicateResult, IEnumerable<IFieldParameter>, IEnumerable<IValidationRule>, bool)
public FieldModel(PropertyBinding binding, Type componentType, Type? labelComponentType, string? label, string? helpText, int rows, int? maxLength, PredicateResult visibility, PredicateResult editability, IEnumerable<IFieldParameter> parameters, IEnumerable<IValidationRule> validationRules, bool isAdminOnly = false)
Parameters
binding PropertyBinding
componentType Type
labelComponentType Type
label string
helpText string
rows int
maxLength int?
visibility PredicateResult
editability PredicateResult
parameters IEnumerable<IFieldParameter>
validationRules IEnumerable<IValidationRule>
isAdminOnly bool
Fields
Binding
public readonly PropertyBinding Binding
Field Value
- PropertyBinding
ComponentType
public readonly Type ComponentType
Field Value
- Type
Editability
public readonly PredicateResult Editability
Field Value
- PredicateResult
public readonly IFieldParameter[] ExtraParameters
Field Value
- IFieldParameter[]
HelpText
public readonly string? HelpText
Field Value
- string
IsAdminOnly
public readonly bool IsAdminOnly
Field Value
- bool
Label
public readonly string? Label
Field Value
- string
LabelComponentType
public readonly Type? LabelComponentType
Field Value
- Type
MaxLength
public readonly int? MaxLength
Field Value
- int?
Rows
Field Value
- int
Visibility
public readonly PredicateResult Visibility
Field Value
- PredicateResult
Properties
IsReadOnly
public bool IsReadOnly { get; }
Property Value
- bool
IsVisible
public bool IsVisible { get; }
Property Value
- bool
Rules
public IEnumerable<IValidationRule> Rules { get; }
Property Value
- IEnumerable<IValidationRule>