RibbonTabAutomationPeer.CreateItemAutomationPeer Method (Object)

.NET Framework (current version)

Creates a new RibbonGroupDataAutomationPeer 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 RibbonTab that is associated with this RibbonTabAutomationPeer.

Return Value

Type: System.Windows.Automation.Peers.ItemAutomationPeer

A RibbonGroupDataAutomationPeer that is associated with the specified item.

.NET Framework
Available since 4.5
Return to top