14 references to GetPropertyValue
System.Web.DynamicData (14)
DynamicData\MetaColumn.cs (9)
195
return Metadata.EditableAttribute.
GetPropertyValue
(a => a.AllowInitialValue, !IsReadOnly);
567
ApplyFormatInEditMode = displayFormatAttribute.
GetPropertyValue
(a => a.ApplyFormatInEditMode, false);
568
ConvertEmptyStringToNull = displayFormatAttribute.
GetPropertyValue
(a => a.ConvertEmptyStringToNull, true);
569
DataFormatString = displayFormatAttribute.
GetPropertyValue
(a => a.DataFormatString, String.Empty);
570
NullDisplayText = displayFormatAttribute.
GetPropertyValue
(a => a.NullDisplayText, String.Empty);
571
HtmlEncode = displayFormatAttribute.
GetPropertyValue
(a => a.HtmlEncode, true);
586
return DefaultValueAttribute.
GetPropertyValue
(a => a.Value, null);
595
DescriptionAttribute.
GetPropertyValue
(a => a.Description, null);
604
DisplayNameAttribute.
GetPropertyValue
(a => a.DisplayName, null);
DynamicData\MetaTable.cs (3)
1007
return _displayNameAttribute.
GetPropertyValue
(a => a.DisplayName, null);
1018
return DisplayColumnAttribute.
GetPropertyValue
(a => a.SortDescending, false);
1024
return _readOnlyAttribute.
GetPropertyValue
(a => a.IsReadOnly, false);
DynamicData\Util\AttributeExtensions.cs (2)
29
return attribute.
GetPropertyValue
<TAttribute, TResult>(propertyGetter, defaultValue);
44
return attribute.
GetPropertyValue
(propertyGetter, null);