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

RibbonMenuItemDataAutomationPeer Constructor

.NET Framework 4.6 and 4.5

Initializes a new instance of the RibbonMenuItemDataAutomationPeer class.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public RibbonMenuItemDataAutomationPeer(
	Object item,
	ItemsControlAutomationPeer itemsControlPeer
)

Parameters

item
Type: System.Object

The element associated with this automation peer.

itemsControlPeer
Type: System.Windows.Automation.Peers.ItemsControlAutomationPeer

The automation peer that is associated with the ItemsControl that holds the RibbonMenuItem.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft