Aspose.Tasks for C++
Aspose::Tasks::GroupCriterion Class Reference

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

#include <GroupCriterion.h>

Inherits System::Object.

Public Member Functions

bool get_Ascending () const
 Gets 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. More...
 
void set_Ascending (bool value)
 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. More...
 
System::Drawing::Color get_CellColor () const
 Gets the color of the cell background for a field used as a criterion in a group definition. More...
 
void set_CellColor (System::Drawing::Color value)
 Sets the color of the cell background for a field used as a criterion in a group definition. More...
 
System::Drawing::Color get_FontColor () const
 Gets the color of the font for a field used as a criterion in a group definition. More...
 
void set_FontColor (System::Drawing::Color value)
 Sets the color of the font for a field used as a criterion in a group definition. More...
 
Aspose::Tasks::Field get_Field () const
 Gets the field being grouped by. More...
 
void set_Field (Aspose::Tasks::Field value)
 Sets the field being grouped by. More...
 
int32_t get_Index () const
 Gets the index of a GroupCriterion object in the containing GroupCriterionCollection collection. More...
 
const System::SharedPtr< Group > & get_ParentGroup () const
 Gets the parent of the GroupCriterion object. More...
 
Aspose::Tasks::GroupOn get_GroupOn () const
 Gets the type of grouping for a field used as a criterion in a group definition. More...
 
void set_GroupOn (Aspose::Tasks::GroupOn value)
 Sets the type of grouping for a field used as a criterion in a group definition. More...
 
BackgroundPattern get_Pattern () const
 Gets the pattern of the cell for a field used as a criterion in a group definition. More...
 
void set_Pattern (BackgroundPattern value)
 Sets the pattern of the cell for a field used as a criterion in a group definition. More...
 
const System::SharedPtr< System::Object > & get_StartAt () const
 Gets the start of the intervals for a field used as a criterion in a group definition. More...
 
void set_StartAt (const System::SharedPtr< System::Object > &value)
 Sets the start of the intervals for a field used as a criterion in a group definition. More...
 
const System::SharedPtr< System::Object > & get_GroupInterval () const
 Gets the interval for a field used as a criterion in a group definition. More...
 
void set_GroupInterval (const System::SharedPtr< System::Object > &value)
 Sets the interval for a field used as a criterion in a group definition. More...
 
const System::SharedPtr< Visualization::FontDescriptor > & get_Font () const
 Gets the font for a criterion in a group definition. More...
 
void set_Font (const System::SharedPtr< Visualization::FontDescriptor > &value)
 Sets the font for a criterion in a group definition. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Returns a value indicating whether this instance is equal to a specified object. More...
 
int32_t GetHashCode () const override
 Serves as a hash function for a particular type. More...
 

Detailed Description

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

Member Function Documentation

◆ Equals()

bool Aspose::Tasks::GroupCriterion::Equals ( System::SharedPtr< System::Object >  obj)
override

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

Parameters
objThe object to compare with this instance.
Returns
True if o is a GroupCriterion that has the same UID value as this instance; otherwise, false.

◆ get_Ascending()

bool Aspose::Tasks::GroupCriterion::get_Ascending ( ) const

Gets 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.

◆ get_CellColor()

System::Drawing::Color Aspose::Tasks::GroupCriterion::get_CellColor ( ) const

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

◆ get_Field()

Aspose::Tasks::Field Aspose::Tasks::GroupCriterion::get_Field ( ) const

Gets the field being grouped by.

◆ get_Font()

const System::SharedPtr<Visualization::FontDescriptor>& Aspose::Tasks::GroupCriterion::get_Font ( ) const

Gets the font for a criterion in a group definition.

◆ get_FontColor()

System::Drawing::Color Aspose::Tasks::GroupCriterion::get_FontColor ( ) const

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

◆ get_GroupInterval()

const System::SharedPtr<System::Object>& Aspose::Tasks::GroupCriterion::get_GroupInterval ( ) const

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

◆ get_GroupOn()

Aspose::Tasks::GroupOn Aspose::Tasks::GroupCriterion::get_GroupOn ( ) const

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

◆ get_Index()

int32_t Aspose::Tasks::GroupCriterion::get_Index ( ) const

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

◆ get_ParentGroup()

const System::SharedPtr<Group>& Aspose::Tasks::GroupCriterion::get_ParentGroup ( ) const

Gets the parent of the GroupCriterion object.

◆ get_Pattern()

BackgroundPattern Aspose::Tasks::GroupCriterion::get_Pattern ( ) const

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

◆ get_StartAt()

const System::SharedPtr<System::Object>& Aspose::Tasks::GroupCriterion::get_StartAt ( ) const

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

◆ GetHashCode()

int32_t Aspose::Tasks::GroupCriterion::GetHashCode ( ) const
override

Serves as a hash function for a particular type.

Returns
A hash code for the current System::Object.

◆ set_Ascending()

void Aspose::Tasks::GroupCriterion::set_Ascending ( bool  value)

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.

◆ set_CellColor()

void Aspose::Tasks::GroupCriterion::set_CellColor ( System::Drawing::Color  value)

Sets the color of the cell background for a field used as a criterion in a group definition.

◆ set_Field()

void Aspose::Tasks::GroupCriterion::set_Field ( Aspose::Tasks::Field  value)

Sets the field being grouped by.

◆ set_Font()

void Aspose::Tasks::GroupCriterion::set_Font ( const System::SharedPtr< Visualization::FontDescriptor > &  value)

Sets the font for a criterion in a group definition.

◆ set_FontColor()

void Aspose::Tasks::GroupCriterion::set_FontColor ( System::Drawing::Color  value)

Sets the color of the font for a field used as a criterion in a group definition.

◆ set_GroupInterval()

void Aspose::Tasks::GroupCriterion::set_GroupInterval ( const System::SharedPtr< System::Object > &  value)

Sets the interval for a field used as a criterion in a group definition.

◆ set_GroupOn()

void Aspose::Tasks::GroupCriterion::set_GroupOn ( Aspose::Tasks::GroupOn  value)

Sets the type of grouping for a field used as a criterion in a group definition.

◆ set_Pattern()

void Aspose::Tasks::GroupCriterion::set_Pattern ( BackgroundPattern  value)

Sets the pattern of the cell for a field used as a criterion in a group definition.

◆ set_StartAt()

void Aspose::Tasks::GroupCriterion::set_StartAt ( const System::SharedPtr< System::Object > &  value)

Sets the start of the intervals for a field used as a criterion in a group definition.