# SalTableRowCollection

Namespace: **PPJ.Runtime.Windows**

Assembly: **PPJ.Runtime.49** (4.9.0.0)

Collection of all the rows in the SalTableWindow control.

{% tabs %}
{% tab title="C#" %}

```csharp
public class SalTableRowCollection : IList, ICollection, IEnumerable, IEnumerable<SalTableRow>
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class SalTableRowCollection
    Inherits IList
    Implements ICollection, IEnumerable, IEnumerable(Of SalTableRow)
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SalTableRowCollection(grid)

Constructor

| Name     | Type                                                                                               | Description |
| -------- | -------------------------------------------------------------------------------------------------- | ----------- |
| **grid** | [C1FlexGrid](/ppj.runtime.49/controls/saltablewindow/ppj.runtime.windows.saltablerowcollection.md) |             |

## Properties

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Count

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): get number of rows

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Item(index)

[SalTableRow](/ppj.runtime.49/controls/saltablewindow/ppj.runtime.windows.saltablerowcollection.md):

## Methods

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Contains(row)

contains row

| Parameter | Type                                                                                                | Description |
| --------- | --------------------------------------------------------------------------------------------------- | ----------- |
| **row**   | [SalTableRow](/ppj.runtime.49/controls/saltablewindow/ppj.runtime.windows.saltablerowcollection.md) |             |

**Returns:** [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)CopyTo(array, index)

copy to

| Parameter | Type                                                              | Description |
| --------- | ----------------------------------------------------------------- | ----------- |
| **array** | [Array](https://docs.microsoft.com/en-us/dotnet/api/system.array) |             |
| **index** | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32) |             |

### ![](/files/dBIrS7XBDGmrzmTRbSI6)IndexOf(row)

index of row

| Parameter | Type                                                                                                | Description |
| --------- | --------------------------------------------------------------------------------------------------- | ----------- |
| **row**   | [SalTableRow](/ppj.runtime.49/controls/saltablewindow/ppj.runtime.windows.saltablerowcollection.md) |             |

**Returns:** [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://desktop-api.iceteagroup.com/ppj.runtime.49/controls/saltablewindow/ppj.runtime.windows.saltablerowcollection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
