public interface IItemContainerProvider extends IInitable
The ItemContainer control pattern allows a container object to efficiently lookup an item by a specified automation element property, such as Name, AutomationId, or IsSelected state. While this control pattern is introduced with a view to being used by virtualized containers, it can be implemented by any container that provides name lookup, independently of whether that container uses virtualization.
| Modifier and Type | Interface and Description |
|---|---|
static class |
IItemContainerProvider.ItemContainerProviderContext
context object for IItemContainerProvider.
|
| Modifier and Type | Method and Description |
|---|---|
IUIAElement |
FindItemByProperty(IUIAElement startAfter,
IPropertyId propertyId,
Variant value)
Retrieves an element within a containing element, based on a specified property value.
|
initializeIUIAElement FindItemByProperty(IUIAElement startAfter, IPropertyId propertyId, Variant value)
startAfter - The UI Automation provider of the element after which the search begins, or NULL to search all elements.propertyId - The property identifier. For a list of property IDs, see Property Identifiers.value - The value of the property.