FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス : GetRowFromTag メソッド |
'Declaration
Public Function GetRowFromTag( _ ByVal rowToStart As Row, _ ByVal tagToFind As Object _ ) As Row
public Row GetRowFromTag( Row rowToStart, object tagToFind )
FarPoint.Win.Spread.SheetView sv; FarPoint.Win.Spread.Row r; sv = fpSpread1.ActiveSheet; sv.Rows[2].Tag = "MyTag"; r = sv.GetRowFromTag(null, "MyTag"); r.BackColor = Color.Yellow;
Dim sv As FarPoint.Win.Spread.SheetView Dim r As FarPoint.Win.Spread.Row sv = FpSpread1.ActiveSheet sv.Rows(2).Tag = "MyTag" r = sv.GetRowFromTag(Nothing, "MyTag") r.BackColor = Color.Yellow