Class CachedDataAnnotationsMetadataAttributes
Provides a container to cache System.ComponentModel.DataAnnotations attributes.
public class CachedDataAnnotationsMetadataAttributes
- Inheritance
-
CachedDataAnnotationsMetadataAttributes
- Inherited Members
Constructors
CachedDataAnnotationsMetadataAttributes(Attribute[])
Initializes a new instance of the CachedDataAnnotationsMetadataAttributes class.
public CachedDataAnnotationsMetadataAttributes(Attribute[] attributes)
Parameters
attributes
Attribute[]The attributes.
Properties
DataType
Gets the data type.
public DataTypeAttribute DataType { get; protected set; }
Property Value
- DataTypeAttribute
The data type.
Display
Gets the display.
public DisplayAttribute Display { get; protected set; }
Property Value
- DisplayAttribute
The display.
DisplayColumn
Gets the display column.
public DisplayColumnAttribute DisplayColumn { get; protected set; }
Property Value
- DisplayColumnAttribute
The display column.
DisplayFormat
Gets the display format.
public DisplayFormatAttribute DisplayFormat { get; protected set; }
Property Value
- DisplayFormatAttribute
The display format.
DisplayName
Gets the display name.
public DisplayNameAttribute DisplayName { get; protected set; }
Property Value
- DisplayNameAttribute
The display name.
Editable
Indicates whether a data field is editable.
public EditableAttribute Editable { get; protected set; }
Property Value
- EditableAttribute
true if the field is editable; otherwise, false.
HiddenInput
Gets the hidden input.
public HiddenInputAttribute HiddenInput { get; protected set; }
Property Value
- HiddenInputAttribute
The hidden input.
ReadOnly
Indicates whether a data field is read only.
public ReadOnlyAttribute ReadOnly { get; protected set; }
Property Value
- ReadOnlyAttribute
true if the field is read only; otherwise, false.
Required
Indicates whether a data field is required.
public RequiredAttribute Required { get; protected set; }
Property Value
- RequiredAttribute
true if the field is required; otherwise, false.
ScaffoldColumn
Indicates whether a data field is scaffold.
public ScaffoldColumnAttribute ScaffoldColumn { get; protected set; }
Property Value
- ScaffoldColumnAttribute
true if the field is scaffold; otherwise, false.
UIHint
Gets the UI hint.
public UIHintAttribute UIHint { get; protected set; }
Property Value
- UIHintAttribute
The UI hint.