IGridItemProvider.ContainingGrid プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
プロパティ値
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