Back to Devexpress

ValidationSettings Members

aspnet-devexpress-dot-web-dot-validationsettings-dot-underscore-members.md

latest4.8 KB
Original Source

ValidationSettings Members

Contains the settings that relate to editor validation.

Properties

NameDescription
CausesValidationGets or sets a value that specifies whether validation is performed when the editor is set to validate when a postback occurs.
DisplaySpecifies whether an editor renders an empty space for the error message initially or dynamically when the editor fails validation.
EnableCustomValidationGets or sets a value that specifies whether an error frame should be rendered on the client side when you implement a custom validation.
ErrorDisplayModeGets or sets a value that specifies how an error message is displayed within the editor’s error frame.
ErrorFrameStyleGets the style properties for the editor’s error frame.
ErrorImageGets the settings that define an error image displayed within the editor’s error frame if the editor’s validation fails.
ErrorTextGets or sets the error text to be displayed within the editor’s error frame if the editor’s validation fails.
ErrorTextPositionGets or sets the error text’s position within the error frame relative to the validated control.
RegularExpressionGets the settings that define the regular expression validation’s rules.
RequiredFieldGets the settings that define the required field validation’s rules.
SetFocusOnErrorGets or sets a value that specifies whether focus is set to the editor when validation fails.
ValidateOnLeaveGets or sets a value that specifies whether validation is performed when the editor value is changed.
ValidationGroupGets or sets the name of a validation group to which the editor belongs.

Methods

NameDescription
Assign(PropertiesBase)Copies the settings of the specified object to the current one.
CreateValidationSettings(ASPxEdit) staticFor internal use only.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns the string that represents the current object.

See Also

ValidationSettings Class

DevExpress.Web Namespace