Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 3.54 KB

listviewbaseautomationpeer.md

File metadata and controls

36 lines (23 loc) · 3.54 KB
-api-id -api-type
T:Windows.UI.Xaml.Automation.Peers.ListViewBaseAutomationPeer
winrt class

Windows.UI.Xaml.Automation.Peers.ListViewBaseAutomationPeer

-description

A base class that provides a Microsoft UI Automation peer implementation for types that derive from ListViewBase.

-remarks

ListViewBase isn't used as a control class, because it is the base class for other controls. You could either derive from those other controls or derive from directly, but the latter means that you have to provide a template and a lot more behavior. If you derive from ListViewBase, override OnCreateAutomationPeer so that it returns a custom peer that is based on ListViewBaseAutomationPeer.

Default peer implementation and overrides in ListViewBaseAutomationPeer

ListViewBaseAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

ListViewBaseAutomationPeer derived classes

ListViewBaseAutomationPeer is the parent class for GridViewAutomationPeer and ListViewAutomationPeer.

-examples

-see-also

SelectorAutomationPeer, IItemContainerProvider, ISelectionProvider, IDropTargetProvider