Table of Contents

Class MaximumLengthDefinition

Namespace
Dynamicweb.CoreUI.Data.Validation
Assembly
Dynamicweb.CoreUI.dll
public sealed class MaximumLengthDefinition : ValidationDefinition
Inheritance
MaximumLengthDefinition
Inherited Members

Constructors

MaximumLengthDefinition(int)

public MaximumLengthDefinition(int length)

Parameters

length int

MaximumLengthDefinition(int, string?)

public MaximumLengthDefinition(int length, string? errorMessage)

Parameters

length int
errorMessage string

Properties

Length

public int Length { get; }

Property Value

int

Methods

Render(EditorBase)

public override void Render(EditorBase editor)

Parameters

editor EditorBase

Validate(object?)

public override bool Validate(object? value)

Parameters

value object

Returns

bool
To top