Xceed Grid for WinForms v4.3 Documentation
CustomValidationMessages Property


Xceed.Validation.v1.3 Assembly > Xceed.Validation Namespace > ValidationCriterion Class : CustomValidationMessages Property
Gets or sets the custom message text used in error messages for this criterion.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>

<TypeConverterAttribute("Xceed.Validation.Design.BlankExpandableObjectConverter,Xceed.Validation.v1.3.Design,Version=1.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>

Public Property CustomValidationMessages As CustomValidationMessages
'Usage
 
Dim instance As ValidationCriterion

Dim value As CustomValidationMessages

 

instance.CustomValidationMessages = value

 

value = instance.CustomValidationMessages
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]

[TypeConverter("Xceed.Validation.Design.BlankExpandableObjectConverter,Xceed.Validation.v1.3.Design,Version=1.3.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]

public CustomValidationMessages CustomValidationMessages {get; set;}

Property Value

A CustomValidationMessages object representing the custom error messages for this criterion.
Remarks
Custom validation error messages override the default messages in ValidationProvider.DefaultValidationMessages.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ValidationCriterion Class
ValidationCriterion Members