'Declaration Public Property PasswordChar As Char
'Usage Dim instance As GcTextBoxCellType Dim value As Char instance.PasswordChar = value value = instance.PasswordChar
public char PasswordChar {get; set;}
'Declaration Public Property PasswordChar As Char
'Usage Dim instance As GcTextBoxCellType Dim value As Char instance.PasswordChar = value value = instance.PasswordChar
public char PasswordChar {get; set;}
The PasswordChar can be used to create a password field in a dialog box. Although you can use any SBCS character, most Windows-based applications use the asterisk (*) (Chr(42)).
This property does not affect the GcTextBox.Text property. GcTextBox.Text contains exactly what the user types or what was set from code. Setting the PasswordChar to 0, which is the default, will display the actual text in the control.
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType gctext = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType(); gctext.PasswordChar = Convert.ToChar("A"); fpSpread1.Sheets[0].Cells[0, 0].CellType = gctext;
Dim gctext As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType() gctext.PasswordChar = Chr(65) fpSpread1.Sheets(0).Cells(0, 0).CellType = gctext