ViewBase.GetAutomationPeer(ListView) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ListView コントロールがそのListViewAutomationPeerのViewを作成するときに呼び出されます。
protected public:
virtual System::Windows::Automation::Peers::IViewAutomationPeer ^ GetAutomationPeer(System::Windows::Controls::ListView ^ parent);
protected internal virtual System.Windows.Automation.Peers.IViewAutomationPeer GetAutomationPeer(System.Windows.Controls.ListView parent);
abstract member GetAutomationPeer : System.Windows.Controls.ListView -> System.Windows.Automation.Peers.IViewAutomationPeer
override this.GetAutomationPeer : System.Windows.Controls.ListView -> System.Windows.Automation.Peers.IViewAutomationPeer
Protected Friend Overridable Function GetAutomationPeer (parent As ListView) As IViewAutomationPeer
パラメーター
- parent
- ListView
ListViewの作成に使用するListViewAutomationPeer コントロール。
返品
カスタム IViewAutomationPeerのListViewAutomationPeerを実装するView インターフェイス。
注釈
ListViewAutomationPeerでは、AutomationPattern コントロールに対して定義されている既定のプロパティとパターンを使用する前に、指定したビューによって実装されるプロパティとListView オブジェクトを最初に使用します。