RuleBase.TargetObject Property

Specifies the object currently being validated by the Validation Rule.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public object TargetObject { get; }
Public ReadOnly Property TargetObject As Object

Property Value

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).

See Also