RibbonTabDataAutomationPeer Constructor
Initializes a new instance of the RibbonTabDataAutomationPeer class.
Namespace: Microsoft.Windows.Automation.Peers
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Sub New ( _
item As Object, _
itemsControlPeer As RibbonAutomationPeer _
)
public RibbonTabDataAutomationPeer(
Object item,
RibbonAutomationPeer itemsControlPeer
)
public:
RibbonTabDataAutomationPeer(
Object^ item,
RibbonAutomationPeer^ itemsControlPeer
)
new :
item:Object *
itemsControlPeer:RibbonAutomationPeer -> RibbonTabDataAutomationPeer
public function RibbonTabDataAutomationPeer(
item : Object,
itemsControlPeer : RibbonAutomationPeer
)
Parameters
- item
Type: System.Object
The element associated with this automation peer.
- itemsControlPeer
Type: Microsoft.Windows.Automation.Peers.RibbonAutomationPeer
The RibbonAutomationPeer that is associated with the Ribbon that holds the RibbonTab.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.