Share via


ValidationProvider Members

Include Protected Members
Include Inherited Members

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.

The ValidationProvider type exposes the following members.

Constructors

  Name Description
Public method ValidationProvider
Initializes a new instance of the ValidationProvider class.

Methods

  Name Description
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Dispose Overloaded.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetPerformValidation
Gets the indication of whether automatic validation should be performed for control when it fires the Validating event.
Protected method GetService (Inherited from Component.)
Public method GetSourcePropertyName
Gets the name of the property on the type specified by SourceTypeName for which the validation specification should be retrieved to validate the value for control.
Public method GetType (Inherited from Object.)
Public method GetValidatedProperty
Gets the name of the property to use when extracting the value from control.
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Overloaded.
Public method PerformValidation
Invokes the validation process for a control.
Public method SetPerformValidation
Sets the indication of whether automatic validation should be performed for control when it fires the Validating event.
Public method SetSourcePropertyName
Sets the name of the property on the type specified by SourceTypeName for which the validation specification should be retrieved to validate the value for control.
Public method SetValidatedProperty
Sets the name of the property to use when extracting the value from control.
Public method ToString (Inherited from Component.)

Properties

  Name Description
Protected property CanRaiseEvents (Inherited from Component.)
Public property Container (Inherited from Component.)
Protected property DesignMode (Inherited from Component.)
Public property Enabled
The indication of whether the ValidationProvider will perform validations.
Public property ErrorProvider
Gets or sets the ErrorProvider to which formatted validation errors should be posted when validating a Control.
Protected property Events (Inherited from Component.)
Public property IsValid
Gets an indication of whether the values for the controls managed by the ValidationProvider have been successfully validated.
Public property RulesetName
Gets or sets the name of the ruleset to use when retrieving validation specifications.
Public property Site (Inherited from Component.)
Public property SourceTypeName
Gets or sets the name for the type to use as the source of specifications for the validations performed by the ValidationProvider.
Public property SpecificationSource
Gets or sets the ValidationSpecificationSource indicating where to get validation specifications from.
Public property ValidationResultFormat
Gets or sets the format to use when formatting validation results to post to an ErrorProvider.

Events

  Name Description
Public event Disposed (Inherited from Component.)
Public event ValidationPerformed
Occurs when validation for a control has been performed.
Public event ValueConvert
Occurs when conversion for a control's value must be performed.

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IExtenderProvider.CanExtend

See Also

ValidationProvider Class

Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WinForms Namespace

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.