PropertyExtensions Class

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Extension methods for Property and PropertyInfo.

public static class PropertyExtensions
Inheritance:
System.Object → PropertyExtensions

Methods

ControlParameters(PropertyInfo) Gets the control parameters specified by the UIHintAttribute.
DefaultValue(PropertyInfo) Gets the default value of the property.
Description(Property) Gets the localized description text of the property.
Description(PropertyInfo) Gets the localized description text of the property.
DisplayName(Property) Gets the localized display name of the property.
DisplayName(PropertyInfo) Gets the localized display name of the property.
Extensions(PropertyInfo) Gets the allowed file extensions.
Group(Property) Gets the name used to group properties in the UI.
Group(PropertyInfo) Gets the name used to group properties in the UI.
Index(PropertyInfo) Gets a value indicating whether the field should be included in the fulltext index.
IsEditable(PropertyInfo) Gets a value indicating whether the property is editable or not.
IsHidden(PropertyInfo) Gets a value indicating whether the property is hidden or not.
IsRequired(PropertyInfo) Gets a value indicating whether the property is required or not.
MaxLength(PropertyInfo) Gets the maximum length of a string property.
MaxSize(PropertyInfo) Gets the maximum file size of the property.
MaxValue(PropertyInfo) Gets the maximum value of the property.
MinLength(PropertyInfo) Gets the minimum length of a string property.
MinValue(PropertyInfo) Gets the minimum value of the property.
Order(PropertyInfo) Gets a value that decides the order in which the property will appear in lists.
Pattern(PropertyInfo) Gets the regular expression pattern that the property must match .
PlaceholderImage(PropertyInfo) Gets the placeholder image for file uploads.
Prompt(Property) Gets the localized watermark for prompts in the UI.
Prompt(PropertyInfo) Gets the localized watermark for prompts in the UI.
Scaffold(PropertyInfo) Gets a value indicating whether the property should be scaffolded or not.
Template(Property) Gets the name of the template used to display or edit the property.
Template(PropertyInfo) Gets the name of the template used to display or edit the property.
TemplateHint(Property) Gets the PresentationLayer property from the System.ComponentModel.DataAnnotations.UIHintAttribute.
TemplateHint(PropertyInfo) Gets the PresentationLayer property from the System.ComponentModel.DataAnnotations.UIHintAttribute.