FlexPivot for WinForms
RowSel プロパティ (C1FlexGridBase)

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス : RowSel プロパティ
Gets or sets the last row in the current selection.
シンタックス
'宣言
 
Public Property RowSel As System.Integer
public System.int RowSel {get; set;}
解説

Use the RowSel and ColSel properties to modify a selection or to determine which cells are currently selected. Columns and rows are numbered from zero, beginning at the top for rows and at the left for columns.

Setting the Row and Col properties automatically collapses the selection to a single cell, resetting the RowSel and ColSel properties. Therefore, to specify a block selection, you must Row and Col, then RowSel and ColSel. Alternatively, you may use the Select(CellRange,Boolean) method to select a range with a single statement.

If the SelectionMode property is set to SelectionModeEnum.ListBox, you should use the RowCol.Selected property on individual row objects to select and deselect rows.

When a range is selected, the value of Row may be greater than or less than RowSel, and Col may be greater than or less than ColSel. This is inconvenient when you need to set up bounds for loops. In these cases, you can use the Selection property to retrieve a normalized CellRange object, where r1 <= r2 and c1 <= c2.

See the ColSel property for an example.

参照

C1FlexGridBase クラス
C1FlexGridBase メンバ