The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.dll

Declaration

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

Parameters

Name Type Description
targetObject Object

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

propertyName String

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

propertyValue Object

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

Returns

Type Description
Boolean

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

Remarks

By default, empty values are:

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

See Also