Click or drag to resize

StringLengthAttribute Constructor (Int32, Int32, String)

Initializes a new instance of StringLengthAttribute

Namespace:  Cauldron.XAML.Validation
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public StringLengthAttribute(
	int minLength,
	int maxLength,
	string errorMessageKey
)

Parameters

minLength
Type: SystemInt32
The minimum length the string should have
maxLength
Type: SystemInt32
The maximum length the string should have
errorMessageKey
Type: SystemString
The key of the localized error message string
See Also