ListViewBaseAutomationPeer class
TOC
Collapse the table of content
Expand the table of content

ListViewBaseAutomationPeer class

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

Inheritance

Object
  DependencyObject
    AutomationPeer
      FrameworkElementAutomationPeer
        ItemsControlAutomationPeer
          SelectorAutomationPeer
            ListViewBaseAutomationPeer

Syntax


public class ListViewBaseAutomationPeer : SelectorAutomationPeer,
    IDropTargetProvider

Members

The ListViewBaseAutomationPeer class has these types of members:

Constructors

The ListViewBaseAutomationPeer class has these constructors.

ConstructorDescription
ListViewBaseAutomationPeer Initializes a new instance of the ListViewBaseAutomationPeer class.

 

Properties

The ListViewBaseAutomationPeer class has these properties.

PropertyAccess typeDescription

DropEffect

Read-only

Gets a string that indicates what will happen when the item is dropped.

DropEffects

Read-only

Gets an array of strings that enumerates possible drop effects when this item is dropped.

 

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 UI Automation client.

The peer also has other behaviors that are provided by the base FrameworkElementAutomationPeer class. For more info, see "Base implementation in FrameworkElementAutomationPeer" section of Custom automation peers.

ListViewBaseAutomationPeer derived classes

ListViewBaseAutomationPeer is the parent class for GridViewAutomationPeer and ListViewAutomationPeer.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

See also

Object
SelectorAutomationPeer
IItemContainerProvider
ISelectionProvider
IDropTargetProvider

 

 

Show:
© 2017 Microsoft