Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.93 KB

stylespatternidentifiers.md

File metadata and controls

21 lines (15 loc) · 1.93 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Automation.StylesPatternIdentifiers
winrt class

Microsoft.UI.Xaml.Automation.StylesPatternIdentifiers

-description

Contains values used as identifiers by IStylesProvider.

-remarks

Classes such as StylesPatternIdentifiers are the identifiers for the Windows Runtime implementation of a common provider pattern for Microsoft UI Automation. You might use these identifiers if you are implementing a Windows Runtime custom automation peer that reports support for IStylesProvider in its AutomationPeer.GetPattern implementation. These identifiers are needed for the AutomationPeer.RaisePropertyChangedEvent calls that you make from control code that references your own peer, or for Microsoft.UI.Xaml.Automation.Peers.ItemsControlAutomationPeer.FindItemByProperty in an items container peer. This same pattern is usually exposed to clients in a different way, depending on which technology they use to implement the client and examine the Microsoft UI Automation tree. IStylesProvider is also presented as a Component Object Model (COM) interface.

-examples

-see-also

IStylesProvider, Custom automation peers, Control patterns and interfaces