RibbonGroupAutomationPeer.CreateItemAutomationPeer Method (Object)

.NET Framework (current version)

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

Creates a new RibbonControlDataAutomationPeer 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 RibbonGroup that is associated with this RibbonGroupAutomationPeer.

Return Value

Type: System.Windows.Automation.Peers.ItemAutomationPeer

A RibbonControlDataAutomationPeer that is associated with the specified item.

.NET Framework
Available since 4.5
Return to top