Skip to main content
.NET 8.0+

IModelAction.TargetObjectsCriteria Property

Specifies the criteria that must be satisfied by the selected object(s) to make the current Action enabled.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[CriteriaOptions("TargetObjectType")]
string TargetObjectsCriteria { get; set; }

Property Value

Type Description
String

A string specifying the criteria that must be satisfied by the selected object(s) to make the current Action enabled.

Remarks

The ActionBase.TargetObjectsCriteria property is initialized based on this property value.

Note

You can use Function Criteria Operators in the criteria assigned to this attribute. The common rules for writing a criteria are described in the Ways to Build Criteria topic.

See Also