Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.17 KB

automationpeer_ispasswordcore_989431979.md

File metadata and controls

24 lines (17 loc) · 1.17 KB
-api-id -api-type
M:Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.IsPasswordCore
winrt method

Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.IsPasswordCore

-description

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

-returns

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.

-examples

-see-also

FrameworkElementAutomationPeer, PasswordBox, PasswordBoxAutomationPeer, Custom automation peers, Accessibility