Visual Basic (Declaration) | |
---|---|
Public Function GetRowFromTag( _ ByVal rowToStart As Row, _ ByVal tagToFind As Object _ ) As Row |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim rowToStart As Row Dim tagToFind As Object Dim value As Row value = instance.GetRowFromTag(rowToStart, tagToFind) |
C# | |
---|---|
public Row GetRowFromTag( Row rowToStart, object tagToFind ) |
Parameters
- rowToStart
- Row object in Rows collection from which to start (pass null to start from beginning)
- tagToFind
- Tag object to identify the Row you are looking for
Return Value
Row object containing the row with the specified tagC# | Copy Code |
---|---|
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; |
Visual Basic | Copy Code |
---|---|
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 |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2