Share via


AutomationPeer.IsPassword Method

Definition

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

public:
 virtual bool IsPassword() = IsPassword;
bool IsPassword();
public bool IsPassword();
function isPassword()
Public Function IsPassword () As Boolean

Returns

Boolean

bool

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