AutomationElement.AutomationElementInformation.IsPassword Property

Definition

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

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

Property Value

Boolean

true if the element contains protected content; otherwise false.

Remarks

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