PasswordPropertyTextAttribute.Password Property


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

Gets a value indicating if the property for which the PasswordPropertyTextAttribute is defined should be shown as password text.

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

public bool Password { get; }

Property Value

Type: System.Boolean

true if the property should be shown as password text; otherwise, false.

.NET Framework
Available since 2.0
Return to top