Click or drag to resize

StringLengthAttribute Constructor (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 length,
	string errorMessageKey
)

Parameters

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