[]
        
(Showing Draft Content)

C1.Win.List.ListBase.C1ListBase.SetSelected

SetSelected Method

SetSelected(int, bool)

Selects or unselects a row from the code.

Declaration
public void SetSelected(int index, bool value)
Parameters
Type Name Description
int index

The zero-based integer that identifies the row number of the control.

bool value

The boolean value indicates the status of the selection.

Remarks

SetSelected(index, True) will select the row if it is not selected. SetSelected(index, False) will unselect the row if it is selected.