Controls the validation state and error display for a set of controls. This class supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code.
The following tables list the members exposed by the ControlsValidator type.
Public Constructors
Name | Description | |
---|---|---|
ControlsValidator | Initializes a new instance of ControlsValidator. This class supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. |
Public Properties
Name | Description | |
---|---|---|
CurrentErrorMessage | Gets the error message of the current invalid control. This property supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. | |
CurrentInvalidControl | Gets the current invalid control. This property supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. |
Public Methods (see also Protected Methods )
Name | Description | |
---|---|---|
AddControl | Adds a control to the validator, but specifies that actual validation will be performed by the specified evaluator. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. | |
AddTextControl | Adds a text control to be managed by the controls validator. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. | |
AllControlsAreValid | Determines whether all controls are valid. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. | |
Dispose | Overloaded. | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
ResetControlError | Resets the data state of an externally-managed control to Valid. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. | |
SetActiveValidationRule | Sets the active validation rule for the specified control. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. | |
SetControlError | Sets an error for an internally-managed control or a delegate-managed control. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. | |
SetErrorString | Sets a control error string that might be reused in a different context. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. | |
ToString | (inherited from Object ) | |
ValidateAll | Validates all internally-managed controls and delegate-managed controls. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. |
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. | |
EvaluateControl | Evaluates the data for the specified control and sets the ErrorProvider state as necessary. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. | |
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) | |
ResetControlErrorInfo | Resets error data for one control. This method supports the Configuration Manager 2007 infrastructure and is not intended to be used directly from your code. |
See Also
Send comments about this topic to Microsoft.