ListViewBaseAutomationPeer ListViewBaseAutomationPeer ListViewBaseAutomationPeer Class

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

Syntax

Declaration

public class ListViewBaseAutomationPeerpublic class ListViewBaseAutomationPeerPublic Class ListViewBaseAutomationPeer

Inheritance Hierarchy

Inherited Members

Inherited properties

, , , ,

Inherited methods

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)
Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)
Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)

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.

Constructors summary

Initializes a new instance of the ListViewBaseAutomationPeer class.

Properties summary

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

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

Constructors

  • ListViewBaseAutomationPeer(ListViewBase)
    ListViewBaseAutomationPeer(ListViewBase)
    ListViewBaseAutomationPeer(ListViewBase)
    ListViewBaseAutomationPeer(ListViewBase)

    Initializes a new instance of the ListViewBaseAutomationPeer class.

    public ListViewBaseAutomationPeer(ListViewBase owner)public New(ListViewBase owner)Public Sub New(owner As ListViewBase)public ListViewBaseAutomationPeer(ListViewBase owner)

    Parameters

Properties

  • DropEffect
    DropEffect
    DropEffect
    DropEffect

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

    public string DropEffect { get; }public string DropEffect { get; }Public ReadOnly Property DropEffect As stringpublic string DropEffect { get; }

    Property Value

    • string
      string
      string

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

    Remarks

    This property is relevant for draggable items when the drop targets are ambiguous. In this case the ListViewBaseAutomationPeer drag origin suggests an effect of being dropped via this property. The drop target can choose to use the DropEffect value instead of the default drop effect of the target.

  • DropEffects
    DropEffects
    DropEffects
    DropEffects

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

    public string[] DropEffects { get; }public string[] DropEffects { get; }Public ReadOnly Property DropEffects As string[]public string[] DropEffects { get; }

    Property Value

    • string[]
      string[]
      string[]

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

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ComposableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Automation.Peers.dll