Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ActionAttribute.TargetObjectsCriteriaMode Property

Specifies whether all the currently selected objects must satisfy the ActionAttribute.TargetObjectsCriteria criteria to make an Action enabled.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public TargetObjectsCriteriaMode TargetObjectsCriteriaMode { get; set; }

#Property Value

Type Description
TargetObjectsCriteriaMode

A TargetObjectsCriteriaMode enumeration value that indicates whether all selected objects or at least one must satisfy the TargetObjectsCriteria criteria.

Available values:

Name Description
TrueAtLeastForOne

At least one of the selected objects in a View must satisfy the criteria specified by the ActionBase.TargetObjectsCriteria property to enable the Action.

TrueForAll

All the objects selected in a View must satisfy the criteria specified by the ActionBase.TargetObjectsCriteria property to enable the Action.

#Remarks

This property value is assigned to the ActionBase.TargetObjectsCriteriaMode property of the Action to be generated.

See Also