Class GroupCriterion

Class GroupCriterion

Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)

Represents a criterion in a group definition. The GroupCriterion object is a member of the Aspose.Tasks.GroupCriterionCollection collection.

public class GroupCriterion

Inheritance

objectGroupCriterion

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

GroupCriterion()

public GroupCriterion()

Properties

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.

public bool Ascending { get; set; }

Property Value

bool

CellColor

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

public Color CellColor { get; set; }

Property Value

Color

Field

Gets or sets the field being grouped by.

public Field Field { get; set; }

Property Value

Field

Font

Gets or sets the font for a criterion in a group definition.

public FontDescriptor Font { get; set; }

Property Value

FontDescriptor

FontColor

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

public Color FontColor { get; set; }

Property Value

Color

GroupInterval

Gets or sets the interval for a field used as a criterion in a group definition.

public object GroupInterval { get; set; }

Property Value

object

GroupOn

Gets or sets the type of grouping for a field used as a criterion in a group definition.

public GroupOn GroupOn { get; set; }

Property Value

GroupOn

Index

Gets the index of a Aspose.Tasks.GroupCriterion object in the containing Aspose.Tasks.GroupCriterionCollection collection.

[Obsolete("This member is obsolete and will be removed after release 25.6.")]
public int Index { get; }

Property Value

int

ParentGroup

Gets the parent of the Aspose.Tasks.GroupCriterion object.

[Obsolete("This member is obsolete and will be removed after release 25.6.")]
public Group ParentGroup { get; }

Property Value

Group

Pattern

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

public BackgroundPattern Pattern { get; set; }

Property Value

BackgroundPattern

StartAt

Gets or sets the start of the intervals for a field used as a criterion in a group definition.

public object StartAt { get; set; }

Property Value

object

Methods

Equals(object)

Returns a value indicating whether this instance is equal to a specified object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with this instance.

Returns

bool

True if o is a GroupCriterion that has the same UID value as this instance; otherwise, false.

GetHashCode()

Serves as a hash function for a particular type.

public override int GetHashCode()

Returns

int

A hash code for the current System.Object.