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 corresponding to the tag
Example
This example uses the GetRowFromTag method.
C# | Copy Code |
---|
FarPoint.Web.Spread.SheetView sv;
FarPoint.Web.Spread.Row r;
sv = FpSpread1.ActiveSheetView;
sv.Rows[2].Tag = "MyTag";
r = sv.GetRowFromTag(null, "MyTag");
r.BackColor = System.Drawing.Color.Yellow; |
VB.NET | Copy Code |
---|
Dim sv As FarPoint.Web.Spread.SheetView
Dim r As FarPoint.Web.Spread.Row
sv = FpSpread1.ActiveSheetView
sv.Rows(2).Tag = "MyTag"
r = sv.GetRowFromTag(Nothing, "MyTag")
r.BackColor = System.Drawing.Color.Yellow |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also