RibbonGroupAutomationPeer.CreateItemAutomationPeer 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.

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
)

Parameters

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
Show: