Class FieldAttribute
- Namespace
- MES.MQC.UtilityLibrary.Form.Field
- Assembly
- MES.MQC.UtilityLibrary.dll
public abstract class FieldAttribute : Attribute, _Attribute
- Inheritance
-
FieldAttribute
- Implements
- Derived
- Inherited Members
Constructors
FieldAttribute()
protected FieldAttribute()
Properties
Disabled
public bool Disabled { get; set; }
Property Value
Help
public string Help { get; set; }
Property Value
Label
public string Label { get; set; }
Property Value
LabelHidden
public bool LabelHidden { get; set; }
Property Value
Preview
public string Preview { get; set; }
Property Value
RefreshOnModified
public bool RefreshOnModified { get; set; }
Property Value
Type
[JsonProperty(Required = Required.Always, Order = -2147483648, PropertyName = "$type")]
public string Type { get; }
Property Value
Visible
public bool Visible { get; set; }
Property Value
Methods
AllowClassType()
PropertyType for this attribute can be a class, that contains at least one property with a FieldAttribute
public virtual bool AllowClassType()
Returns
AllowEnumType()
PropertyType for this attribute can be a enum
public virtual bool AllowEnumType()
Returns
GetBasicTypes()
Allowed basic types for PropertyType
public virtual Type[] GetBasicTypes()
Returns
- Type[]
IsArrayType()
PropertyType for this attribute is an array of enum or a basic type
public virtual bool IsArrayType()