Spread Windows Forms 9.0 Product Documentation
PasswordRevelationMode Property
Example 


Gets or sets the password revelation mode.
Syntax
'Declaration
 
Public Property PasswordRevelationMode As PasswordRevelationMode
'Usage
 
Dim instance As GcTextBoxCellType
Dim value As PasswordRevelationMode
 
instance.PasswordRevelationMode = value
 
value = instance.PasswordRevelationMode
public PasswordRevelationMode PasswordRevelationMode {get; set;}

Property Value

One of the PasswordRevelationMode value, indicates the password revelation mode.
Default value is None, indicates never reveal the typed password.
Example
This example displays an eye symbol when typing password characters.
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType inputcell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
inputcell1.PasswordChar = Convert.ToChar("A");
inputcell1.PasswordRevelationMode = GrapeCity.Win.Spread.InputMan.CellType.PasswordRevelationMode.ShowEyeButton;
fpSpread1.Sheets[0].Cells[1, 1].CellType = inputcell1;
Dim inputcell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType
inputcell1.PasswordChar = Chr(65)
inputcell1.PasswordRevelationMode = GrapeCity.Win.Spread.InputMan.CellType.PasswordRevelationMode.ShowEyeButton
FpSpread1.Sheets(0).Cells(1, 1).CellType = inputcell1
Requirements

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

See Also

Reference

GcTextBoxCellType Class
GcTextBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.