Table of Contents

Class FieldAttributeBase

Namespace
MES.MQC.UtilityLibrary.Form.Attributes.Field
Assembly
MES.MQC.UtilityLibrary.dll
[AttributeUsage(AttributeTargets.Property)]
public abstract class FieldAttributeBase : Attribute, _Attribute, IFieldAttribute
Inheritance
FieldAttributeBase
Implements
Derived
Inherited Members

Constructors

FieldAttributeBase()

protected FieldAttributeBase()

Properties

Appendix

public string Appendix { get; set; }

Property Value

string

DefaultValue

public object DefaultValue { get; set; }

Property Value

object

Defaulting

public bool Defaulting { get; set; }

Property Value

bool

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

Order

public int Order { get; set; }

Property Value

int

Prefix

public string Prefix { get; set; }

Property Value

string

Preview

public string Preview { get; set; }

Property Value

string

Required

public bool Required { get; set; }

Property Value

bool

SizeInTable

public string SizeInTable { get; set; }

Property Value

string

Visible

public bool Visible { get; set; }

Property Value

bool

VisibleInTable

public bool VisibleInTable { get; set; }

Property Value

bool

VisibleInView

public bool VisibleInView { 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