AutomationPeer.IsPasswordCore AutomationPeer.IsPasswordCore AutomationPeer.IsPasswordCore AutomationPeer.IsPasswordCore Method

Definition

Provides the peer's behavior when a Microsoft UI Automation client calls IsPassword or an equivalent Microsoft UI Automation client API.

protected : virtual Platform::Boolean IsPasswordCore()
virtual bool IsPasswordCore() const;
protected virtual bool IsPasswordCore()
Protected Overridable Function IsPasswordCore() As bool

Returns

bool bool

true if the element contains sensitive content; otherwise, false.

Remarks

The standard implementation returns false. PasswordBoxAutomationPeer provides an implementation that returns true. If the peer being returned by your control is PasswordBoxAutomationPeer or derived from it, you will inherit that behavior.

See also