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

# AutoFilterSortConditionModel

## Overview

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

Represents auto filter sort condition model.

This class declares 19 methods for AutoFilterSortConditionModel objects in C++ programs.
Available methods include: `AutoFilterSortConditionModel`, `GetCustomList`, `GetDescending`, `GetDifferentialStyleId`, `GetIconId`, `GetIconSet`, `GetRef`, `GetSortBy`, `SetCustomList`, `SetDescending`, `SetDifferentialStyleId`, `SetIconId`, and 3 additional methods.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `AutoFilterSortConditionModel()` | Calls AutoFilterSortConditionModel on this AutoFilterSortConditionModel instance. |
| `GetRef()` → `std::string` | Gets or sets the ref. |
| `SetRef(value: std::string)` | Sets the ref value. |
| `SetRef(value: std::string)` | Sets the ref value. |
| `GetDescending()` → `bool` | Gets or sets a value indicating whether descending. |
| `SetDescending(value: bool)` | Sets the descending value. |
| `GetSortBy()` → `std::string` | Gets or sets the sort by. |
| `SetSortBy(value: std::string)` | Sets the sort by value. |
| `SetSortBy(value: std::string)` | Sets the sort by value. |
| `GetCustomList()` → `std::string` | Gets or sets the custom list. |
| `SetCustomList(value: std::string)` | Sets the custom list value. |
| `SetCustomList(value: std::string)` | Sets the custom list value. |
| `GetDifferentialStyleId()` → `std::optional<int>` | Gets or sets the differential style id. |
| `SetDifferentialStyleId(value: std::optional<int>)` | Sets the differential style id value. |
| `GetIconSet()` → `std::string` | Gets or sets the icon set. |
| `SetIconSet(value: std::string)` | Sets the icon set value. |
| `SetIconSet(value: std::string)` | Sets the icon set value. |
| `GetIconId()` → `std::optional<int>` | Gets or sets the icon id. |
| `SetIconId(value: std::optional<int>)` | Sets the icon id value. |

## See Also

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