Table of Contents

Class TreeSelectAttribute

Namespace
MES.MQC.UtilityLibrary.Form.Attributes.Field
Assembly
MES.MQC.UtilityLibrary.dll
public class TreeSelectAttribute : FieldAttributeBase, _Attribute, IFieldAttribute
Inheritance
TreeSelectAttribute
Implements
Inherited Members

Properties

Mode

public TreeSelectAttribute.TreeSelectMode Mode { get; set; }

Property Value

TreeSelectAttribute.TreeSelectMode

ParentCheckStrategy

public bool ParentCheckStrategy { get; set; }

Property Value

bool

Tree

public List<TreeItem> Tree { get; set; }

Property Value

List<TreeItem>

ValidateTreeValueInBackend

public bool ValidateTreeValueInBackend { get; set; }

Property Value

bool

Methods

GetBasicTypes()

Allowed basic types for PropertyType

public override Type[] GetBasicTypes()

Returns

Type[]

GetTreeValues(TreeItem[])

public string[] GetTreeValues(TreeItem[] treeItems = null)

Parameters

treeItems TreeItem[]

Returns

string[]

IsArrayType()

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

public override bool IsArrayType()

Returns

bool