Spread for ASP.NET 7.0 Product Documentation
Password Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > TextCellType Class : Password Property


Glossary Item Box

Gets or sets whether the cell has a password.

Syntax

Visual Basic (Declaration) 
Public Property Password As Boolean
Visual Basic (Usage)Copy Code
Dim instance As TextCellType
Dim value As Boolean
 
instance.Password = value
 
value = instance.Password
C# 
public bool Password {get; set;}

Property Value

true if password set; false otherwise

Example

This example sets a password field for a text cell.
C#Copy Code
FarPoint.Web.Spread.TextCellType textcell = new FarPoint.Web.Spread.TextCellType();
textcell.Password = true; 
FpSpread1.Sheets[0].Cells[0, 0].CellType = textcell;

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

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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