Spread Windows Forms 11.0 Product Documentation
PasswordRevelationMode Property (GcTextBoxCellType)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcTextBoxCellType Class : PasswordRevelationMode Property
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
See Also

Reference

GcTextBoxCellType Class
GcTextBoxCellType Members