Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.04 KB

automationpeer_getclassnamecore_637441696.md

File metadata and controls

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

Microsoft.UI.Xaml.Automation.Peers.AutomationPeer.GetClassNameCore

-description

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

-returns

The class name.

-remarks

You should never invoke the base behavior, and all custom peers should override GetClassNameCore to report the class name that is unique to that peer class. For more info, see Custom automation peers.

-examples

-see-also

FrameworkElementAutomationPeer, GetLocalizedControlTypeCore, Custom automation peers, Accessibility