RuleSet.IsEmptyValue(Object, String, Object) Method

Determines whether or not the validation rule's target property value is considered empty.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v18.2.dll


public static bool IsEmptyValue(
    object targetObject,
    string propertyName,
    object propertyValue
Public Shared Function IsEmptyValue(
    targetObject As Object,
    propertyName As String,
    propertyValue As Object
) As Boolean


Type Name Description
Object targetObject

An object which is the validation rule's target object.

String propertyName

A string which is the name of the validation rule's target property.

Object propertyValue

An object which is the validation rule's target property value.


Type Description

true, if the value is considered empty; otherwise - false.


By default, empty values are:

Handle the RuleSet.CustomIsEmptyValue event to customize this method behavior.

See Also