FlexGrid for WinForms
Using Password Entries in C1FlexGrid
Show AllShow All
Hide AllHide All

To show placeholder characters (*) in cells used for password entry, use the SetupEditor event.

  1. Create a column for passwords in the grid and set the draw mode:

    To write code in Visual Basic

    To write code in C#

  2. Add the following code for the SetupEditor event. This code will hide characters that are entered by the user.

    To write code in Visual Basic

    To write code in C#

This topic illustrates the following:

When the user enters a password in the Password column and presses ENTER, the text is automatically converted to asterisks.


See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback