
## GroupCriterion class

Represents a criterion in a group definition.<br/>            The GroupCriterion object is a member of the [GroupCriterionCollection](/tasks/python-net/aspose.tasks/groupcriterioncollection/) collection.

The GroupCriterion type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|GroupCriterion()|Initializes a new instance of the GroupCriterion class|
## Properties
| Name | Description |
| :- | :- |
|ascending|Gets or sets a value indicating whether a field used as a criterion in a group definition is sorted in ascending order. False if the field is sorted in descending order.|
|cell_color|Gets or sets the color of the cell background for a field used as a criterion in a group definition.|
|font_color|Gets or sets the color of the font for a field used as a criterion in a group definition.|
|field|Gets or sets the field being grouped by.|
|group_on|Gets or sets the type of grouping for a field used as a criterion in a group definition.|
|pattern|Gets or sets the pattern of the cell for a field used as a criterion in a group definition.|
|start_at|Gets or sets the start of the intervals for a field used as a criterion in a group definition.|
|group_interval|Gets or sets the interval for a field used as a criterion in a group definition.|
|font|Gets or sets the font for a criterion in a group definition.|

### See Also

* namespace [aspose.tasks](/tasks/python-net/aspose.tasks/)
* assembly [Aspose.Tasks](/tasks/python-net/)

