ItemsControlAutomationPeer.FindOrCreateItemAutomationPeer Method (Object)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns an ItemAutomationPeer for the specified object.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
protected internal virtual ItemAutomationPeer FindOrCreateItemAutomationPeer(
	object item
)

Parameters

item
Type: System.Object

The item to get an ItemAutomationPeer for.

Return Value

Type: System.Windows.Automation.Peers.ItemAutomationPeer

An ItemAutomationPeer for the specified object.

.NET Framework
Available since 4.5
Return to top
Show: