AutomationPeer.IsPassword Method

Definition

Gets a value that indicates whether the element contains sensitive content.

C#
public bool IsPassword();

Returns

Boolean

true if the element contains sensitive content such as a password; otherwise, false.

Remarks

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

Applies to

Produkt Versiounen
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6