IGridItemProvider.ContainingGrid 속성

정의

IGridProvider를 구현하고 셀 또는 항목의 컨테이너를 나타내는 UI 자동화 공급자를 가져옵니다.

public:
 property System::Windows::Automation::Provider::IRawElementProviderSimple ^ ContainingGrid { System::Windows::Automation::Provider::IRawElementProviderSimple ^ get(); };
public System.Windows.Automation.Provider.IRawElementProviderSimple ContainingGrid { get; }
member this.ContainingGrid : System.Windows.Automation.Provider.IRawElementProviderSimple
Public ReadOnly Property ContainingGrid As IRawElementProviderSimple

속성 값

IRawElementProviderSimple

GridPattern를 구현하고 셀 또는 항목 컨테이너를 나타내는 UI 자동화 공급자입니다.

예제

다음 예제 코드는 그리드 컨테이너를 나타내는 내부 변수로 저장된 개체를 반환합니다. 이 개체는 구현 및 IRawElementProviderFragmentRoot.IGridProvider

IRawElementProviderSimple IGridItemProvider.ContainingGrid
{
    get 
    { 
        return ItemContainingGrid; 
    }
}
Private ReadOnly Property ContainingGrid() As IRawElementProviderSimple Implements IGridItemProvider.ContainingGrid
    Get
        Return ItemContainingGrid
    End Get
End Property

적용 대상

추가 정보