# DisplayNumberOfRows Property

## Overloads

| [DisplayNumberOfRows](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxAutoSortByStateDef.DisplayNumberOfRows.htm#Qlik_Engine_NxAutoSortByStateDef_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 |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxAutoSortByStateDef.DisplayNumberOfRows.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxAutoSortByStateDef.DisplayNumberOfRows.htm)

## DisplayNumberOfRows

This parameter applies to list objects.

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.

If `qDisplayNumberOfRows` is set to a negative value or to 0, the sort by state is disabled.

JSON property name: qDisplayNumberOfRows

### Declaration

```

          public int DisplayNumberOfRows { get; set; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| System.Int32 |  |

### Implements

[INxAutoSortByStateDef.DisplayNumberOfRows](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxAutoSortByStateDef.DisplayNumberOfRows.htm#Qlik_Engine_INxAutoSortByStateDef_DisplayNumberOfRows)