AutomationElement.AutomationElementInformation.IsPassword Property


Gets a value that indicates whether the UI Automation element contains protected content.

 property bool IsPassword { bool get(); };
public bool IsPassword { get; }
member this.IsPassword : bool
Public ReadOnly Property IsPassword As Boolean

Property Value

true if the element contains protected content; otherwise false.


This property enables applications such as screen-readers to determine whether the text content of a control should be read aloud.

For more information, see IsPasswordProperty.

Applies to