[]
Selects or unselects a row from the code.
public void SetSelected(int index, bool value)
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. |
SetSelected(index, True) will select the row if it is not selected. SetSelected(index, False) will unselect the row if it is selected.