Share via


PropertyProxyValidator.ValueConvert Event

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Occurs when value conversion is required by the control to perform validation.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet
Assembly:  Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet (in Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet.dll)

Syntax

'Declaration
Public Event ValueConvertAs EventHandler(Of ValueConvertEventArgs)
public event EventHandler<ValueConvertEventArgs> ValueConvert
public:
 event EventHandler<ValueConvertEventArgs^>^ ValueConvert {
    voidadd (EventHandler<ValueConvertEventArgs^>^ value);
    voidremove (EventHandler<ValueConvertEventArgs^>^ value);
}
JScript does not support events.

Remarks

The ValueConvert event is raised when value conversion is required by the control to perform validation. This event is used to provide a custom value conversion routine for an input control, such as a TextBox control.

See Also

PropertyProxyValidator Class

Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet Namespace

Microsoft.Practices.EnterpriseLibrary.Validation.Integration.ValueConvertEventArgs

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.