Share via


GroupCriterion2 Members (Project)

Represents a criterion in a group definition where the group hierarchy can be maintained and cell color can be a hexadecimal value. The GroupCriterion2 object is a member of the GroupCriteria2 collection.

Methods

Name

Description

Delete

Deletes a GroupCriterion2 object from its containing GroupCriteria2 collection.

Properties

Name

Description

Application

Gets the Application object. Read-only Application.

Ascending

True if a field used as a criterion in a Group2 definition is sorted in ascending order. False if the field is sorted in descending order. Read/write Boolean.

Assignment

True if the assignment should be grouped according to the Customize Group By dialog box when grouping in a usage view. Read/write Boolean.

CellColor

Gets or sets the color of the cell background for a field used as a criterion in a group definition. Read/write Long. Can be one of the following PjColor constants:

CellColorEx

Gets or sets the color of the cell background for a field used as a criterion in a group definition. Read/write Long.

FieldName

Gets or sets the name of the field being grouped by. Read/write String.

FontBold

True if the font for a field used as a criterion in a group definition is bold; otherwise, False. Read/write Boolean.

FontColor

Gets or sets the color of the font for a field used as a criterion in a group definition. Read/write PjColor.

FontColorEx

Gets or sets the color of the font for a field used as a criterion in a group definition. Read/write Long.

FontItalic

True if the font for a field used as a criterion in a group definition is italic; otherwise, False. Read/write Boolean.

FontName

Gets or sets the name of the font for a field used as a criterion in a group definition. Read/write String.

FontSize

Gets or sets the size of the font in points for a field used as a criterion in a group definition. Read/write Long.

FontUnderLine

True if the font for a field used as a criterion in a group definition is underlined; otherwise, False. Read/write Boolean.

GroupInterval

Gets or sets the interval for a field used as a criterion in a group definition. Read/write Variant.

GroupOn

Gets or sets the type of grouping for a field used as a criterion in a group definition. Read/write Long. Can be one of the PjGroupOn constants.

Index

Gets the index of an object in its containing collection. Read-only Long.

Parent

Gets the parent of the object. Read-only Group2.

Pattern

Gets or sets the pattern of the cell for a field used as a criterion in a group definition. Read/write PjBackgroundPattern.

StartAt

Gets or sets the start point of the intervals for a field used as a criterion in a group definition. Read/write Variant.