Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Row Class / Tag Property
Example


In This Topic
    Tag Property (Row)
    In This Topic
    Gets or sets the application-defined tag value associated with the cells in this row.
    Syntax
    'Declaration
     
    Public Property Tag As Object
    'Usage
     
    Dim instance As Row
    Dim value As Object
     
    instance.Tag = value
     
    value = instance.Tag
    public object Tag {get; set;}

    Property Value

    String containing the tag for cells in this row
    Remarks
    This value is only for the application's use; the component does not use this value.
    Example
    This example creates a Row object and sets up a Tag object for the Row object, which is only used by the application. The tag is queried and returned to a text box.
    FarPoint.Web.Spread.Row myrow;
    myrow=FpSpread1.ActiveSheetView.Rows[1];
    myrow.Tag="FarPoint Spread";
    TextBox1.Text=(string)myrow.Tag;
    Dim myrow As FarPoint.Web.Spread.Row
    myrow=FpSpread1.ActiveSheetView.Rows(1)
    myrow.Tag="FarPoint Spread"
    TextBox1.Text=myrow.Tag
    See Also