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

In This Topic
    RowSpan Property
    In This Topic
    Gets or sets the number of rows spanned by a cell.
    Public Property RowSpan As Integer
    Dim instance As Cell
    Dim value As Integer
    instance.RowSpan = value
    value = instance.RowSpan
    public int RowSpan {get; set;}

    Property Value

    Integer number of rows spanned

    If this cell represents a range of cells that are spanned, then this property returns and sets the upper-left cell in the range.

    This example sets up a cell span over three columns and three rows.
    FarPoint.Win.Spread.Cell acell;
    acell = fpSpread1.ActiveSheet.Cells[0, 0];
    acell.ColumnSpan = 3;
    acell.RowSpan = 3;
    acell.Text = "Span";
    Dim acell As FarPoint.Win.Spread.Cell
    acell = fpSpread1.ActiveSheet.Cells(0, 0)
    acell.ColumnSpan = 3
    acell.RowSpan = 3
    acell.Text = "Span"
    See Also