Share via


RibbonMenuItemDataAutomationPeer Constructor

Initializes a new instance of the RibbonMenuItemDataAutomationPeer class.

Namespace:  Microsoft.Windows.Automation.Peers
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Sub New ( _
    item As Object, _
    itemsControlPeer As ItemsControlAutomationPeer _
)
public RibbonMenuItemDataAutomationPeer(
    Object item,
    ItemsControlAutomationPeer itemsControlPeer
)
public:
RibbonMenuItemDataAutomationPeer(
    Object^ item, 
    ItemsControlAutomationPeer^ itemsControlPeer
)
new : 
        item:Object * 
        itemsControlPeer:ItemsControlAutomationPeer -> RibbonMenuItemDataAutomationPeer
public function RibbonMenuItemDataAutomationPeer(
    item : Object, 
    itemsControlPeer : ItemsControlAutomationPeer
)

Parameters

  • item
    Type: System.Object
    The element associated with this automation peer.

.NET Framework Security

See Also

Reference

RibbonMenuItemDataAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace