ItemsControlAutomationPeer::FindOrCreateItemAutomationPeer Method (Object^)

.NET Framework (current version)
 

Returns an ItemAutomationPeer for the specified object.

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

public protected:
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
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: