Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RibbonContextMenuAutomationPeer.CreateItemAutomationPeer Method

.NET Framework 4.6 and 4.5

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 RibbonContextMenu that is associated with this RibbonContextMenuAutomationPeer.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft