MinValueAttribute Class

MinValueAttribute Class

Specifies the minimum value that the property value will be validated against. This is only enforced in the back office user interface; from code it is possible to set a smaller value than the specified minimum.

[AttributeUsage(AttributeTargets.Property)]
public sealed class MinValueAttribute: Attribute, IPropertyModelAttribute

Inheritance  Attribute MinValueAttribute

Implements  IPropertyModelAttribute

Constructors

Name Description
MinValueAttribute(Object)

Properties

Name Description
ValidationMessage

Methods

Name Description
Apply(PropertyDefinition)