CreateItemAutomationPeer Method

RibbonAutomationPeer.CreateItemAutomationPeer Method (Object)

.NET Framework (current version)

Creates a RibbonTabDataAutomationPeer for the specified item.

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

protected override ItemAutomationPeer CreateItemAutomationPeer(
	object item


Type: System.Object

An object that is in the Ribbon that is associated with this RibbonAutomationPeer.

Return Value

Type: System.Windows.Automation.Peers.ItemAutomationPeer

A RibbonTabDataAutomationPeer that is associated with the specified item.

.NET Framework
Available since 4.5
Return to top
© 2016 Microsoft