Gets a row on this sheet with a specific tag.
Syntax
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) |
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 tag
Example
C# | 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
|
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also