Package at.bestsolution.uia
Interface IItemContainerProvider
- All Superinterfaces:
IInitable
Provides access to controls that act as containers of other controls, such as a virtual list-view.
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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classcontext object for IItemContainerProvider. -
Method Summary
Modifier and TypeMethodDescriptionFindItemByProperty(IUIAElement startAfter, IPropertyId propertyId, Variant value) Retrieves an element within a containing element, based on a specified property value.Methods inherited from interface at.bestsolution.uia.IInitable
initialize
-
Method Details
-
FindItemByProperty
Retrieves an element within a containing element, based on a specified property value.- Parameters:
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.- Returns:
- Receives a pointer to the UI Automation provider of the element.
-