[]
        
(Showing Draft Content)

C1.Win.C1List.C1List.FindString

FindString Method

FindString(string)

Finds the first row index such that the cell text starts with string s in the column specified by the DisplayMember property.

Declaration
public int FindString(string s)
Parameters
Type Name Description
string s

The target string.

Returns
Type Description
int

FindString(string, int)

Finds the first row index after startIndex such that the cell text starts with string s in the column specified by the DisplayMember property.

Declaration
public int FindString(string s, int startIndex)
Parameters
Type Name Description
string s

The target string.

int startIndex

The row started.

Returns
Type Description
int

FindString(string, int, int)

Finds the first row index after startIndex such that the cell text starts with string s in the given column.

Declaration
public int FindString(string s, int startIndex, int col)
Parameters
Type Name Description
string s

The target string.

int startIndex

The row started.

int col

The index of column.

Returns
Type Description
int

FindString(string, int, string)

Finds the first row index after startIndex such that the cell text starts with string s in the given column.

Declaration
public int FindString(string s, int startIndex, string field)
Parameters
Type Name Description
string s

The target string.

int startIndex

The row started.

string field

The field name of the column.

Returns
Type Description
int