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
DefaultValue
public object DefaultValue { get; set; }
Property Value
Defaulting
public bool Defaulting { get; set; }
Property Value
Disabled
public bool Disabled { get; set; }
Property Value
Help
public string Help { get; set; }
Property Value
Label
public string Label { get; set; }
Property Value
LabelHidden
public bool LabelHidden { get; set; }
Property Value
Order
public int Order { get; set; }
Property Value
Prefix
public string Prefix { get; set; }
Property Value
Preview
public string Preview { get; set; }
Property Value
Required
public bool Required { get; set; }
Property Value
SizeInTable
public string SizeInTable { get; set; }
Property Value
Visible
public bool Visible { get; set; }
Property Value
VisibleInTable
public bool VisibleInTable { get; set; }
Property Value
VisibleInView
public bool VisibleInView { get; set; }
Property Value
Methods
AllowClassType()
PropertyType for this attribute can be a class, that contains at least one property with a FieldAttribute
public virtual bool AllowClassType()
Returns
AllowEnumType()
PropertyType for this attribute can be a enum
public virtual bool AllowEnumType()
Returns
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()