Share via


RibbonControlDataAutomationPeer Constructor

Initializes a new instance of the RibbonControlDataAutomationPeer class.

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

Syntax

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

Parameters

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

.NET Framework Security

See Also

Reference

RibbonControlDataAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace