Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 2.26 KB

igriditemprovider.md

File metadata and controls

27 lines (17 loc) · 2.26 KB
-api-id -api-type
T:Windows.UI.Xaml.Automation.Provider.IGridItemProvider
winrt interface

Windows.UI.Xaml.Automation.Provider.IGridItemProvider

-description

Exposes methods and properties to support access by a Microsoft UI Automation client to individual child controls of containers that implement IGridProvider. Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.GridItem.

-remarks

This pattern has guidelines and conventions that aren't fully documented here. For more info on what this pattern is for, see GridItem Control Pattern.

IGridItemProvider isn't implemented by any existing Windows Runtime automation peers. Notably, IGridItemProvider doesn't exist for the elements contained in a Grid and using the Grid as a layout container, or for GridViewItem. The interface exists so that custom control authors can support the automation pattern in a custom control, and implement their automation support using the same Windows Runtime managed or C++ API as they use to define control logic or other automation support.

Use GridItemPatternIdentifiers if you want to reference the IGridItemProvider pattern properties from control code when you fire automation events or call RaisePropertyChangedEvent.

-examples

-see-also

IGridProvider, GridItemPatternIdentifiers, IGridItemProvider (COM interface), Custom automation peers, GridItem Control Pattern