Table of Contents

Class SelectAttribute

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

Properties

Mode

public SelectMode Mode { get; set; }

Property Value

SelectMode

Options

public string[] Options { get; set; }

Property Value

string[]

Methods

AllowEnumType()

PropertyType for this attribute can be a enum

public override bool AllowEnumType()

Returns

bool

GetBasicTypes()

Allowed basic types for PropertyType

public override Type[] GetBasicTypes()

Returns

Type[]

IsArrayType()

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

public override bool IsArrayType()

Returns

bool