Back to Devexpress

DataFormPropertyValidationEventArgs Members

maui-devexpress-dot-maui-dot-dataform-dot-dataformpropertyvalidationeventargs-dot-underscore-members.md

latest3.4 KB
Original Source

DataFormPropertyValidationEventArgs Members

Provides data for the ValidateProperty event.

Constructors

NameDescription
DataFormPropertyValidationEventArgs(String, Object, Object)Initializes a new instance of the DataFormPropertyValidationEventArgs class with specified settings.

Fields

NameDescription
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
CurrentValueGets or sets the current value of the data field that is about to be updated.
ErrorTextGets or sets the error message displayed below the editor on the data form.
HasErrorGets or sets whether the new value is valid.
NewValueGets the new value that should be validated.
PropertyNameGets the name of the processed data field (property).

Methods

NameDescription
Equals(Object, Object) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from System.Object.
ReferenceEquals(Object, Object) staticDetermines 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

DataFormPropertyValidationEventArgs Class

DevExpress.Maui.DataForm Namespace