Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / Row Property
Example


In This Topic
    Row Property (Cell)
    In This Topic
    Gets the row that contains this cell.
    Syntax
    'Declaration
     
    Public ReadOnly Property Row As Row
    'Usage
     
    Dim instance As Cell
    Dim value As Row
     
    value = instance.Row
    public Row Row {get;}

    Property Value

    Row object containing the row of the cell
    Remarks

    This property is available at run time only.

    Example
    This example creates returns the row height to a text box.
    FarPoint.Win.Spread.Cell mycell;  
    mycell = fpSpread1.ActiveSheet.Cells[0, 0];
    float cw;
    cw = mycell.Row.Height;
    mycell.Text = Convert.ToString(cw);
    
    Dim mycell As FarPoint.Win.Spread.Cell
    mycell = fpSpread1.ActiveSheet.Cells(0, 0)
    Dim size As Single
    size = mycell.Row.Height
    mycell.Text = size
    See Also