Spread Windows Forms 8.0 Product Documentation
RestrictColumns Property
Example 


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

Property Value

Boolean: true to restrict users from those columns; 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
Requirements

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

Reference

SheetView Class
SheetView Members

User-Task Documentation

Allowing User Functionality

 

 


Copyright © GrapeCity, inc. All rights reserved.