FlexPivot for WinForms
Selected プロパティ (RowCollection)
使用例 

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > RowCollection クラス : Selected プロパティ
Gets a collection of Row objects that are currently selected.
シンタックス
'宣言
 
Public ReadOnly Property Selected As RowCollection
public RowCollection Selected {get;}
解説
This property is especially useful when the grid's SelectionMode property is set to SelectionModeEnum.ListBox.
使用例

The code below removes all selected rows from the grid.

Note that foreach loops can't be used to modify the collections being iterated over. This example works because the Selected collection is being enumerated while the Rows collection is being modified.

// delete all selected rows
foreach (Row r in _flex.Rows.Selected)
{
    _flex.Rows.Remove(r);
}
参照

RowCollection クラス
RowCollection メンバ