
## Filter class

Represents a filter in Project.

The Filter type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|Filter()|Initializes a new instance of the Filter class|
## Properties
| Name | Description |
| :- | :- |
|filter_type|Gets the type of the filter.|
|name|Gets or sets the name of a Filter object.|
|show_in_menu|Gets or sets a value indicating whether project shows the filter name in the Filter drop-down list on the View tab of the Ribbon.|
|show_related_summary_rows|Gets or sets a value indicating whether related summary rows are displayed for the filter.|
|index|Gets the index of a [Filter](/tasks/python-net/aspose.tasks/filter/) object in the Filters containing object.|
|uid|Gets the unique identifier of a filter.|
|criteria|Gets or sets the criteria that tasks or resources must meet to be displayed in MSP view.|
## Methods
| Name | Description |
| :- | :- |
|compare_to(other)|Compares this instance to the specified instance of the [Filter](/tasks/python-net/aspose.tasks/filter/) class and returns an indication of their relative order.|
|equals(other)|Returns a value indicating whether this instance is equal to the specified AssignmentBaseline object.|

### See Also

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

