Spread Windows Forms 7.0 Product Documentation
RestrictRows Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : RestrictRows Property

Glossary Item Box

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.


Visual Basic (Declaration) 
Public Property RestrictRows As Boolean
Visual Basic (Usage)Copy Code
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


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.
C#Copy Code
fpSpread1.ActiveSheet.RestrictColumns = true;
fpSpread1.ActiveSheet.RestrictRows = true;
Visual BasicCopy Code
FpSpread1.ActiveSheet.RestrictColumns = True
FpSpread1.ActiveSheet.RestrictRows = True


Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.