RuleBase.TargetObject Property

Specifies the object currently being validated by the Validation Rule.

Namespace: DevExpress.Persistent.Validation

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

Syntax

public object TargetObject { get; }

Returns

Type Description
Object

An object currently being validated by the Validation Rule.

This property returns the object that is currently being validated by the RuleBase.Validate method. After the object is validated, this property is set to null (Nothing in VB).