IUIAutomationGridItemPattern::CachedContainingGrid Property
Retrieves from the cache a UI Automation element that supports IUIAutomationGridPattern and represents the container of the item.
Syntax
HRESULT IUIAutomationGridItemPattern::get_CachedContainingGrid(IUIAutomationElement **retVal);
Parameters
- retVal
The address of a variable that receives the IUIAutomationElement interface of the cached element that contains the item.
Return Value
Returns S_OK if successful, or an error value otherwise.