-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.IsPasswordCore |
winrt method |
Provides the peer's behavior when a Microsoft UI Automation client calls IsPassword or an equivalent Microsoft UI Automation client API.
true if the element contains sensitive content; otherwise, false.
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.
FrameworkElementAutomationPeer, PasswordBox, PasswordBoxAutomationPeer, Custom automation peers, Accessibility