Version

PasswordChar Property

Gets/sets the character to be used to mask the actual typed character.
Syntax
'Declaration
 
Public Overridable Property PasswordChar As Char
public virtual char PasswordChar {get; set;}
Remarks

When the control's Multiline property is true, the PasswordChar property is not applicable.

Example
This example sets the control up to be a password editor.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinEditors

    Private Sub SetupPasswordEditor()

        '	Set the MaxLength property to 10 to limit the
        '	number of characters that can be typed
        Me.UltraTextEditor1.MaxLength = 10

        '	Set the PasswordChar to the asterisk ("*"), so the actual
        '	characters that are typed cannot be seen on the screen.
        Me.UltraTextEditor1.PasswordChar = "*"

    End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinEditors;

		private void SetupPasswordEditor()
		{
			//	Set the MaxLength property to 10 to limit the
			//	number of characters that can be typed
			this.ultraTextEditor1.MaxLength = 10;

			//	Set the PasswordChar to the asterisk ("*"), so the actual
			//	characters that are typed cannot be seen on the screen.
			this.ultraTextEditor1.PasswordChar = '*';

		}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also