Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / RestrictRows Property
Example


In This Topic
    RestrictRows Property
    In This Topic
    Gets or sets whether users are restricted from typing data in a row on this sheet that is more than one row beyond the last row that contains data.
    Syntax
    'Declaration
     
    Public Property RestrictRows As Boolean
    'Usage
     
    Dim instance As SheetView
    Dim value As Boolean
     
    instance.RestrictRows = value
     
    value = instance.RestrictRows
    public bool RestrictRows {get; set;}

    Property Value

    Boolean: true to restrict users from those rows; false otherwise
    Example
    This example restricts users so they cannot type data in the columns or rows that are more than one column or row beyond the last one containing data.
    fpSpread1.ActiveSheet.RestrictColumns = true;
    fpSpread1.ActiveSheet.RestrictRows = true;
    FpSpread1.ActiveSheet.RestrictColumns = True
    FpSpread1.ActiveSheet.RestrictRows = True
    See Also