Class GraphicalIndicatorCriteria

Class GraphicalIndicatorCriteria

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

Represents one graphical indicator criteria associated with an extended attribute.

public sealed class GraphicalIndicatorCriteria

Inheritance

objectGraphicalIndicatorCriteria

Inherited Members

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

Constructors

GraphicalIndicatorCriteria(GraphicalIndicatorCriteriaType, FilterComparisonType, int, GraphicalIndicatorCriteriaValue, GraphicalIndicatorCriteriaValue)

Initializes a new instance of the Aspose.Tasks.GraphicalIndicatorCriteria type.

public GraphicalIndicatorCriteria(GraphicalIndicatorCriteriaType rowType, FilterComparisonType test, int imageIndex, GraphicalIndicatorCriteriaValue value1, GraphicalIndicatorCriteriaValue value2)

Parameters

rowType GraphicalIndicatorCriteriaType

value of Aspose.Tasks.GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied

test FilterComparisonType

value of Aspose.Tasks.FilterComparisonType denoting the type of comparison performed by the criteria.

imageIndex int

the index of the image to display when the field meets the criteria

value1 GraphicalIndicatorCriteriaValue

values used in condition check.

value2 GraphicalIndicatorCriteriaValue

second value (end of interval) used in condition check in case of ‘IsWithin’ and ‘IsNotWithing’ conditions.

Exceptions

ArgumentException

Thrown when incorrect combination of arguments is passed to the constructor.

GraphicalIndicatorCriteria(GraphicalIndicatorCriteriaType, FilterComparisonType, int, GraphicalIndicatorCriteriaValue)

Initializes a new instance of the Aspose.Tasks.GraphicalIndicatorCriteria type.

public GraphicalIndicatorCriteria(GraphicalIndicatorCriteriaType rowType, FilterComparisonType test, int imageIndex, GraphicalIndicatorCriteriaValue value)

Parameters

rowType GraphicalIndicatorCriteriaType

value of Aspose.Tasks.GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied

test FilterComparisonType

value of Aspose.Tasks.FilterComparisonType denoting the type of comparison performed by the criteria.

imageIndex int

the index of the image to display when the field meets the criteria

value GraphicalIndicatorCriteriaValue

value used in condition check.

Exceptions

ArgumentException

Thrown when incorrect combination of arguments is passed to the constructor.

ArgumentException

When value of IsWithin of IsNotWithing is passed to test argument.

Properties

ImageIndex

Gets the index of the image to display when the field meets the criteria.

public int ImageIndex { get; }

Property Value

int

RowType

Gets the value of Aspose.Tasks.GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied.

public GraphicalIndicatorCriteriaType RowType { get; }

Property Value

GraphicalIndicatorCriteriaType

Test

Gets the type of comparison made between extended attribute’s value and Values that acts as a criteria for the application of the graphical indicator. Aspose.Tasks.FilterComparisonType

public FilterComparisonType Test { get; }

Property Value

FilterComparisonType

Value1

Gets the value used to test extended attribute’s value.

public GraphicalIndicatorCriteriaValue Value1 { get; }

Property Value

GraphicalIndicatorCriteriaValue

Value2

Gets the second value used to test extended attribute’s value in case of ‘IsWithin’ and ‘IsNotWithin’ comparison types.

public GraphicalIndicatorCriteriaValue Value2 { get; }

Property Value

GraphicalIndicatorCriteriaValue

Methods

ToString()

Returns string representation of the instance of the Aspose.Tasks.GraphicalIndicatorCriteria class.

public override string ToString()

Returns

string

string representation of this object.