IGridItemProvider.ContainingGrid Property

 

Gets a UI Automation provider that implements IGridProvider and represents the container of the cell or item.

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

IRawElementProviderSimple ContainingGrid { get; }

Property Value

Type: System.Windows.Automation.Provider.IRawElementProviderSimple

A UI Automation provider that implements the GridPattern and represents the cell or item container.

The following example code returns an object, stored as an internal variable that represents the grid container. This object implements IGridProvider and IRawElementProviderFragmentRoot.

IRawElementProviderSimple IGridItemProvider.ContainingGrid
{
    get 
    { 
        return ItemContainingGrid; 
    }
}

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: