ActionBase.TargetObjectsCriteriaMode Property
Specifies whether all the currently selected objects must satisfy the ActionBase.TargetObjectsCriteria criteria to make an Action enabled.
Namespace: DevExpress.ExpressApp.Actions
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
[DefaultValue(TargetObjectsCriteriaMode.TrueAtLeastForOne)]
public TargetObjectsCriteriaMode TargetObjectsCriteriaMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Target |
True |
A Target |
Available values:
Name | Description |
---|---|
True |
At least one of the selected objects in a View must satisfy the criteria specified by the Action |
True |
All the objects selected in a View must satisfy the criteria specified by the Action |
#Remarks
When specifying the ActionBase.TargetObjectsCriteria property, specify the TargetObjectsCriteriaMode property as well. The following values are available:
TrueAtLeastForOne
At least one of the selected objects must satisfy the criteria specified by the ActionBase.TargetObjectsCriteria property to make the Action enabled.
TrueForAll
All the selected objects must satisfy the criteria specified by the ActionBase.TargetObjectsCriteria property to make the Action enabled.