29 references to Metadata
System.Web.DynamicData (29)
DynamicData\FieldTemplateUserControl.cs (1)
422
var requiredAttribute = column.
Metadata
.RequiredAttribute;
DynamicData\MetaColumn.cs (23)
40
return
Metadata
.Attributes;
63
return
Metadata
.DataTypeAttribute;
72
return
Metadata
.DefaultValue;
82
return
Metadata
.Description;
92
return
Metadata
.DisplayName ?? Name;
106
return
Metadata
.FilterUIHint;
177
return Provider.IsReadOnly ||
Metadata
.IsReadOnly ||
178
(
Metadata
.EditableAttribute != null && !
Metadata
.EditableAttribute.AllowEdit);
195
return
Metadata
.EditableAttribute.GetPropertyValue(a => a.AllowInitialValue, !IsReadOnly);
204
return
Metadata
.RequiredAttribute != null;
222
var stringLengthAttribute =
Metadata
.StringLengthAttribute;
240
public virtual string Prompt { get { return
Metadata
.Prompt; } }
252
var requiredAttribute =
Metadata
.RequiredAttribute;
271
var displayAttribute =
Metadata
.DisplayAttribute;
277
var scaffoldAttribute =
Metadata
.ScaffoldColumnAttribute;
352
return
Metadata
.ShortDisplayName ?? DisplayName;
396
return
Metadata
.UIHint;
407
return
Metadata
.ApplyFormatInEditMode;
416
return
Metadata
.ConvertEmptyStringToNull;
425
return
Metadata
.DataFormatString;
434
return
Metadata
.HtmlEncode;
443
return
Metadata
.NullDisplayText;
DynamicData\MetaTable.cs (5)
533
var displayAttribute = column.
Metadata
.DisplayAttribute;
542
var displayAttribute = column.
Metadata
.DisplayAttribute;
648
return Columns.Where(c => c.
Metadata
.DisplayAttribute != null && !String.IsNullOrEmpty(c.
Metadata
.DisplayAttribute.GetGroupName()))
649
.GroupBy(c => c.
Metadata
.DisplayAttribute.GetGroupName())