Table of Contents

Class FormsAttribute

Namespace
MES.MQC.UtilityLibrary.Form.Field
Assembly
MES.MQC.UtilityLibrary.dll
[AttributeUsage(AttributeTargets.Property)]
public class FormsAttribute : FieldAttribute, _Attribute
Inheritance
FormsAttribute
Implements
Inherited Members

Properties

AddLabel

public string AddLabel { get; set; }

Property Value

string

DisplayMode

public FormsDisplayMode DisplayMode { get; set; }

Property Value

FormsDisplayMode

MaxItems

public int MaxItems { get; set; }

Property Value

int

MinItems

public int MinItems { get; set; }

Property Value

int

TitleFields

public string[] TitleFields { get; set; }

Property Value

string[]

Methods

AllowClassType()

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

public override bool AllowClassType()

Returns

bool

IsArrayType()

PropertyType for this attribute is an array of enum or a basic type

public override bool IsArrayType()

Returns

bool