RibbonTabHeaderDataAutomationPeer Constructor
Initializes a new instance of the RibbonTabHeaderDataAutomationPeer class.
Namespace: Microsoft.Windows.Automation.Peers
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Sub New ( _
item As Object, _
itemsControlPeer As RibbonTabHeaderItemsControlAutomationPeer _
)
public RibbonTabHeaderDataAutomationPeer(
Object item,
RibbonTabHeaderItemsControlAutomationPeer itemsControlPeer
)
public:
RibbonTabHeaderDataAutomationPeer(
Object^ item,
RibbonTabHeaderItemsControlAutomationPeer^ itemsControlPeer
)
new :
item:Object *
itemsControlPeer:RibbonTabHeaderItemsControlAutomationPeer -> RibbonTabHeaderDataAutomationPeer
public function RibbonTabHeaderDataAutomationPeer(
item : Object,
itemsControlPeer : RibbonTabHeaderItemsControlAutomationPeer
)
Parameters
- item
Type: System.Object
The element associated with this automation peer.
- itemsControlPeer
Type: Microsoft.Windows.Automation.Peers.RibbonTabHeaderItemsControlAutomationPeer
The RibbonTabHeaderItemsControlAutomationPeer that is associated with the RibbonTabHeaderItemsControl that holds the RibbonTabHeader.
.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.