Table of Contents

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

bool

Help

public string Help { get; set; }

Property Value

string

Label

public string Label { get; set; }

Property Value

string

LabelHidden

public bool LabelHidden { get; set; }

Property Value

bool

Preview

public string Preview { get; set; }

Property Value

string

RefreshOnModified

public bool RefreshOnModified { get; set; }

Property Value

bool

Type

[JsonProperty(Required = Required.Always, Order = -2147483648, PropertyName = "$type")]
public string Type { get; }

Property Value

string

Visible

public bool Visible { get; set; }

Property Value

bool

Methods

AllowClassType()

PropertyType for this attribute can be a class, that contains at least one property with a FieldAttribute

public virtual bool AllowClassType()

Returns

bool

AllowEnumType()

PropertyType for this attribute can be a enum

public virtual bool AllowEnumType()

Returns

bool

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()

Returns

bool