# INxAutoSortByStateDef Interface

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

## Syntax

```
[ValueClass]
public interface INxAutoSortByStateDef
```

## Properties

| Name | Description |
| --- | --- |
| [DisplayNumberOfRows](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxAutoSortByStateDef.DisplayNumberOfRows.htm#Qlik_Engine_INxAutoSortByStateDef_DisplayNumberOfRows) | This parameter applies to list objects.<br><br>If the total number of values in the list object is greater than the value set in `qDisplayNumberOfRows` , the selected lines are promoted at the top of the list object.<br><br>If `qDisplayNumberOfRows` is set to a negative value or to 0, the sort by state is disabled.<br><br>JSON property name: qDisplayNumberOfRows |