Skip to main content
.NET Framework 4.5.2+

RuleBase.TargetObject Property

Specifies the object currently being validated by the Validation Rule.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public object TargetObject { get; }

Property Value

Type Description
Object

An object currently being validated by the Validation Rule.

Remarks

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