---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/autofiltercolorfilter
---

# AutoFilterColorFilter

## Overview

`AutoFilterColorFilter` is a class in Aspose.Cells FOSS for C++.

Represents auto filter color filter.

This class declares 7 methods for AutoFilterColorFilter objects in C++ programs.
Available methods include: `Clear`, `GetCellColor`, `GetDifferentialStyleId`, `GetEnabled`, `SetCellColor`, `SetDifferentialStyleId`, `SetEnabled`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetEnabled()` → `bool` | Gets or sets a value indicating whether enabled. |
| `SetEnabled(value: bool)` | Sets the enabled value. |
| `GetDifferentialStyleId()` → `std::optional<int>` | Gets or sets the differential style id. |
| `SetDifferentialStyleId(value: std::optional<int>)` | Sets the differential style id value. |
| `GetCellColor()` → `bool` | Gets or sets a value indicating whether cell color. |
| `SetCellColor(value: bool)` | Sets the cell color value. |
| `Clear()` | Clears the current state. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)