Spread for ASP.NET 11 Product Documentation
Password Property (TextCellType)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > TextCellType Class : Password Property
Gets or sets whether the cell has a password.
Syntax
'Declaration
 
Public Property Password As Boolean
'Usage
 
Dim instance As TextCellType
Dim value As Boolean
 
instance.Password = value
 
value = instance.Password
public bool Password {get; set;}

Property Value

true if password set; false otherwise
Example
This example sets a password field for a text cell.
FarPoint.Web.Spread.TextCellType textcell = new FarPoint.Web.Spread.TextCellType();
textcell.Password = true; 
FpSpread1.Sheets[0].Cells[0, 0].CellType = textcell;

Dim textcell As New FarPoint.Web.Spread.TextCellType()
textcell.Password = True 
FpSpread1.Sheets(0).Cells(0, 0).CellType = textcell
See Also

Reference

TextCellType Class
TextCellType Members