The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

RuleRangeAttribute.TargetCollectionAggregate Property

Specifies the aggregate function to be checked by the current rule.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public Aggregate TargetCollectionAggregate { get; set; }
Public Property TargetCollectionAggregate As Aggregate
public Aggregate TargetCollectionAggregate { get; set; }
Public Property TargetCollectionAggregate As Aggregate
public Aggregate TargetCollectionAggregate { get; set; }
Public Property TargetCollectionAggregate As Aggregate

Property Value

Type Description
Aggregate

A Devexpress.Data.Filtering.Aggregate enumeration value which specifies the aggregate function to be checked by the current rule.

Property Value

Type Description
Aggregate

A Devexpress.Data.Filtering.Aggregate enumeration value which specifies the aggregate function to be checked by the current rule.

Property Value

Type Description
Aggregate

A Devexpress.Data.Filtering.Aggregate enumeration value which specifies the aggregate function to be checked by the current rule.

Remarks

When applied to collection properties, the RuleRange can use aggregate functions. When a value is assigned to the TargetCollectionAggregate property, the validation rule does not check the collection property's elements. Instead, it checks the specified aggregate function.

See Also