DataFormValidationEventArgs Members
Provides data for the ValidateForm event.Constructors
| Name | Description |
|---|---|
| DataFormValidationEventArgs(Dictionary<String, Object>, Object) | Initializes a new instance of the DataFormValidationEventArgs class with specified settings. |
Fields
| Name | Description |
|---|---|
| Empty static | Provides a value to use with events that do not have event data. Inherited from EventArgs. |
Properties
| Name | Description |
|---|---|
| DataObject | Gets or sets the data object that is associated with the data form. |
| Errors | Provides access to a dictionary of error messages for data fields. Keys are data field names. Values are error messages. Error messages are displayed below data editors on the form. |
| HasErrors | Gets or sets whether the data form is valid. |
| NewValues | Provides access to a dictionary of new values that should be validated. Keys are data field names. |
Methods
| Name | Description |
|---|---|
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from System.Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from System.Object. |
| GetHashCode() | Serves as the default hash function. Inherited from System.Object. |
| GetType() | Gets the Type of the current instance. Inherited from System.Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from System.Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from System.Object. |
| ToString() | Returns a string that represents the current object. Inherited from System.Object. |
See Also