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

RuleIsReferencedAttribute.LooksFor Property

Specifies the type of objects to be looked for.

Namespace: DevExpress.Persistent.Validation

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


public Type LooksFor { get; set; }
Public Property LooksFor As Type

Property Value

Type Description

A type of the objects to be tested.


By default, this property is set to the attribute's target class.


When defining the RuleIsReferencedAttribute in code, the value for the LooksFor property is passed as a named parameter. This means that you do not have to specify it. However, when specifying, use the following format: LooksFor = typeof(Person) (LooksFor := TypeOf(Person), in Visual Basic).

See Also