Skip to content

Infragistics Community Forum / Desktop / Ultimate UI for Windows Forms / Implement password eye using ultratexteditor

Implement password eye using ultratexteditor

New Discussion
kate vrie
kate vrie asked on Dec 28, 2018 4:59 PM

Hello,

I want to implement password eye in ultratexteditor. So when user clicks the eye button, for that much time he can see the password in plain text.

Is there any option in infragistics to accomplish this?

Please point me the way to take if there is not any in built functionality for this.

Thank you.

Sign In to post a reply

Replies

  • 0
    Andrew Goldenbaum
    Andrew Goldenbaum answered on Dec 28, 2018 4:31 PM

    Hello Kate,

    There does not exist any built-in property that can enable a “password eye” in the UltraTextEditor, but this is easily achievable through the usage of the ButtonsLeft and ButtonsRight collections of the editor. You can read about these collections at this documentation article.

    In the Click event of the EditorButton that you place in your collection, you can either call the ResetPasswordChar method or set the PasswordChar property on your editor to hide or show the password.

    I am attaching a sample project to demonstrate the above. I hope this helps.

    Please let me know if you have any other questions or concerns on this matter.

    UltraTextEditorPswdField.zip

    • 0
      kate vrie
      kate vrie answered on Dec 28, 2018 4:59 PM

      Thanks. I will work on it and verify the answer. 

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
kate vrie
Favorites
0
Replies
2
Created On
Dec 28, 2018
Last Post
7 years, 2 months ago

Suggested Discussions

Created by

Created on

Dec 28, 2018 4:59 PM

Last activity on

Dec 28, 2018 4:59 PM