MaskedTextProvider.DefaultPasswordChar Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the default password character used obscure user input.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public static char DefaultPasswordChar { get; }

Property Value

Type: System.Char

A Char that represents the default password character.

The DefaultPasswordChar property is defined in the MaskedTextProvider class to be the asterisk character (*).

.NET Framework
Available since 2.0
Return to top