ViewBase.GetAutomationPeer(ListView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Is called when a ListView control creates a ListViewAutomationPeer for its 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
Parameters
- parent
- ListView
The ListView control to use to create the ListViewAutomationPeer.
Returns
The IViewAutomationPeer interface that implements the ListViewAutomationPeer for a custom View.
Remarks
The ListViewAutomationPeer first uses the properties and AutomationPattern objects that are implemented by the specified view, before using the default properties and patterns that are defined for a ListView control.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za