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

# AutoFilterSortStateModel

## Overview

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

Represents auto filter sort state model.

This class declares 14 methods for AutoFilterSortStateModel objects in C++ programs.
Available methods include: `Clear`, `GetCaseSensitive`, `GetColumnSort`, `GetConditions`, `GetRef`, `GetSortMethod`, `HasStoredState`, `SetCaseSensitive`, `SetColumnSort`, `SetRef`, `SetSortMethod`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetColumnSort()` → `bool` | Gets or sets a value indicating whether column sort. |
| `SetColumnSort(value: bool)` | Sets the column sort value. |
| `GetCaseSensitive()` → `bool` | Gets or sets a value indicating whether case sensitive. |
| `SetCaseSensitive(value: bool)` | Sets the case sensitive value. |
| `GetSortMethod()` → `std::string` | Gets or sets the sort method. |
| `SetSortMethod(value: std::string)` | Sets the sort method value. |
| `SetSortMethod(value: std::string)` | Sets the sort method value. |
| `GetRef()` → `std::string` | Gets or sets the ref. |
| `SetRef(value: std::string)` | Sets the ref value. |
| `SetRef(value: std::string)` | Sets the ref value. |
| `GetConditions()` → `std::vector<AutoFilterSortConditionModel>` | Gets the conditions. |
| `GetConditions()` → `std::vector<AutoFilterSortConditionModel>` | Returns the conditions. |
| `Clear()` | Clears the current state. |
| `HasStoredState()` → `bool` | Performs has stored state. true if the condition is met; otherwise, false. |

## See Also

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