IGridItemProvider.ContainingGrid Propriedade
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Recebe um fornecedor Automatização da Interface de Utilizador que implementa IGridProvider e representa o contentor da célula ou item.
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
Valor de Propriedade
Um fornecedor Automatização da Interface de Utilizador que implementa o GridPattern e representa a célula ou o contentor do item.
Exemplos
O seguinte código de exemplo devolve um objeto, armazenado como uma variável interna que representa o contentor da grelha. Este objeto implementa IGridProvider e IRawElementProviderFragmentRoot.
IRawElementProviderSimple IGridItemProvider.ContainingGrid
{
get
{
return ItemContainingGrid;
}
}
Private ReadOnly Property ContainingGrid() As IRawElementProviderSimple Implements IGridItemProvider.ContainingGrid
Get
Return ItemContainingGrid
End Get
End Property