RibbonMenuItemAutomationPeer.CreateItemAutomationPeer Method (Object)

.NET Framework (current version)
 

Creates a new RibbonMenuItemDataAutomationPeer 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 RibbonMenuItem that is associated with this RibbonMenuItemAutomationPeer.

.NET Framework
Available since 4.5
Return to top
Show: