Back to Devexpress

ActionAttribute.TargetObjectsCriteriaMode Property

expressappframework-devexpress-dot-persistent-dot-base-dot-actionattribute-0562de37.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public TargetObjectsCriteriaMode TargetObjectsCriteriaMode { get; set; }
vb
Public Property TargetObjectsCriteriaMode As TargetObjectsCriteriaMode

Property Value

TypeDescription
TargetObjectsCriteriaMode

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

|

Available values:

NameDescription
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

ActionAttribute Class

ActionAttribute Members

DevExpress.Persistent.Base Namespace