Class ItemRelationListMaxValidator
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a max rows number validator.
public class ItemRelationListMaxValidator : Validator
- Inheritance
-
ItemRelationListMaxValidator
- Inherited Members
Constructors
ItemRelationListMaxValidator(ItemRelationListEditor)
Initializes a new instance of an object.
public ItemRelationListMaxValidator(ItemRelationListEditor editor)
Parameters
editor
ItemRelationListEditorFile editor.
Properties
Editor
Gets or sets the value editor.
public ItemRelationListEditor Editor { get; set; }
Property Value
Methods
Validate(ValidatorContext)
Performs validation and returns value indicating whether validation was successful.
public override bool Validate(ValidatorContext context)
Parameters
context
ValidatorContextValidation context.
Returns
- bool
Value indicating whether validation was successful.