ListViewItemAutomationPeer
ListViewItemAutomationPeer
ListViewItemAutomationPeer
ListViewItemAutomationPeer
Class
Definition
Exposes a ListViewItem to Microsoft UI Automation.
public : class ListViewItemAutomationPeer : FrameworkElementAutomationPeer, IListViewItemAutomationPeerpublic class ListViewItemAutomationPeer : FrameworkElementAutomationPeer, IListViewItemAutomationPeerPublic Class ListViewItemAutomationPeer Inherits FrameworkElementAutomationPeer Implements IListViewItemAutomationPeer// This API is not available in Javascript.
- Inheritance
-
FrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerListViewItemAutomationPeerListViewItemAutomationPeerListViewItemAutomationPeerListViewItemAutomationPeer
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)
CreatePeerForElement(UIElement)CreatePeerForElement(UIElement)CreatePeerForElement(UIElement)CreatePeerForElement(UIElement)
GenerateRawElementProviderRuntimeIdGenerateRawElementProviderRuntimeIdGenerateRawElementProviderRuntimeIdGenerateRawElementProviderRuntimeId
GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)
GetAutomationControlTypeCoreGetAutomationControlTypeCoreGetAutomationControlTypeCoreGetAutomationControlTypeCore
GetElementFromPoint(Point)GetElementFromPoint(Point)GetElementFromPoint(Point)GetElementFromPoint(Point)
GetElementFromPointCore(Point)GetElementFromPointCore(Point)GetElementFromPointCore(Point)GetElementFromPointCore(Point)
GetLocalizedControlTypeCoreGetLocalizedControlTypeCoreGetLocalizedControlTypeCoreGetLocalizedControlTypeCore
GetLocalizedLandmarkTypeCoreGetLocalizedLandmarkTypeCoreGetLocalizedLandmarkTypeCoreGetLocalizedLandmarkTypeCore
GetPattern(PatternInterface)GetPattern(PatternInterface)GetPattern(PatternInterface)GetPattern(PatternInterface)
GetPatternCore(PatternInterface)GetPatternCore(PatternInterface)GetPatternCore(PatternInterface)GetPatternCore(PatternInterface)
GetPeerFromPointCore(Point)GetPeerFromPointCore(Point)GetPeerFromPointCore(Point)GetPeerFromPointCore(Point)
GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)
ListenerExists(AutomationEvents)ListenerExists(AutomationEvents)ListenerExists(AutomationEvents)ListenerExists(AutomationEvents)
Navigate(AutomationNavigationDirection)Navigate(AutomationNavigationDirection)Navigate(AutomationNavigationDirection)Navigate(AutomationNavigationDirection)
NavigateCore(AutomationNavigationDirection)NavigateCore(AutomationNavigationDirection)NavigateCore(AutomationNavigationDirection)NavigateCore(AutomationNavigationDirection)
PeerFromProvider(IRawElementProviderSimple)PeerFromProvider(IRawElementProviderSimple)PeerFromProvider(IRawElementProviderSimple)PeerFromProvider(IRawElementProviderSimple)
ProviderFromPeer(AutomationPeer)ProviderFromPeer(AutomationPeer)ProviderFromPeer(AutomationPeer)ProviderFromPeer(AutomationPeer)
RaiseAutomationEvent(AutomationEvents)RaiseAutomationEvent(AutomationEvents)RaiseAutomationEvent(AutomationEvents)RaiseAutomationEvent(AutomationEvents)
RaiseNotificationEvent(AutomationNotificationKind,AutomationNotificationProcessing,String,String)RaiseNotificationEvent(AutomationNotificationKind,AutomationNotificationProcessing,String,String)RaiseNotificationEvent(AutomationNotificationKind,AutomationNotificationProcessing,String,String)RaiseNotificationEvent(AutomationNotificationKind,AutomationNotificationProcessing,String,String)
RaisePropertyChangedEvent(AutomationProperty,Object,Object)RaisePropertyChangedEvent(AutomationProperty,Object,Object)RaisePropertyChangedEvent(AutomationProperty,Object,Object)RaisePropertyChangedEvent(AutomationProperty,Object,Object)
RaiseStructureChangedEvent(AutomationStructureChangeType,AutomationPeer)RaiseStructureChangedEvent(AutomationStructureChangeType,AutomationPeer)RaiseStructureChangedEvent(AutomationStructureChangeType,AutomationPeer)RaiseStructureChangedEvent(AutomationStructureChangeType,AutomationPeer)
RaiseTextEditTextChangedEvent(AutomationTextEditChangeType,IVectorView{String})RaiseTextEditTextChangedEvent(AutomationTextEditChangeType,IVectorView{String})RaiseTextEditTextChangedEvent(AutomationTextEditChangeType,IVectorView{String})RaiseTextEditTextChangedEvent(AutomationTextEditChangeType,IVectorView{String})
ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)
SetParent(AutomationPeer)SetParent(AutomationPeer)SetParent(AutomationPeer)SetParent(AutomationPeer)
Inherited properties
Remarks
The Windows Runtime ListViewItem class creates a new ListViewItemAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from ListViewItemAutomationPeer if you are deriving a custom class from ListViewItem and want to add automation support for additional features that you enabled in your custom class. Then override OnCreateAutomationPeer so that it returns your custom peer.
Default peer implementation and overrides in ListViewItemAutomationPeer
ListViewItemAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.
- GetPattern defers to base peers. GetPattern returns a pattern for IDragProvider though an internal base class. The content of the ListViewItem might also have a specific peer, for example if it is a TextBox. The parent ListView has the support for any selection-related automation behavior.
- GetClassName returns "ListViewItem".
- GetAutomationControlType returns AutomationControlType.ListItem.
- Because a ListViewItem is a ContentControl, GetName returns a string value based on examining the current Content. This is implemented so that consumers of the control don't always need to provide an AutomationProperties.Name value in app code, and can use a generated-from-content value for the automation Name directly from the UI definition. For more info on how this works, see Basic accessibility information. 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.
Constructors
ListViewItemAutomationPeer(ListViewItem) ListViewItemAutomationPeer(ListViewItem) ListViewItemAutomationPeer(ListViewItem) ListViewItemAutomationPeer(ListViewItem)
Initializes a new instance of the ListViewItemAutomationPeer class.
public : ListViewItemAutomationPeer(ListViewItem owner)public ListViewItemAutomationPeer(ListViewItem owner)Public Sub New(owner As ListViewItem)// This API is not available in Javascript.
Parameters
The ListViewItem to create a peer for.