Share via


RibbonTabHeaderItemsControlAutomationPeer.CreateItemAutomationPeer Method

Creates a new RibbonTabHeaderDataAutomationPeer for the specified item.

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

Syntax

'Declaration
Protected Overrides Function CreateItemAutomationPeer ( _
    item As Object _
) As ItemAutomationPeer
protected override ItemAutomationPeer CreateItemAutomationPeer(
    Object item
)
protected:
virtual ItemAutomationPeer^ CreateItemAutomationPeer(
    Object^ item
) override
abstract CreateItemAutomationPeer : 
        item:Object -> ItemAutomationPeer 
override CreateItemAutomationPeer : 
        item:Object -> ItemAutomationPeer 
protected override function CreateItemAutomationPeer(
    item : Object
) : ItemAutomationPeer

Parameters

Return Value

Type: System.Windows.Automation.Peers.ItemAutomationPeer
A RibbonTabHeaderDataAutomationPeer for the specified item.

.NET Framework Security

See Also

Reference

RibbonTabHeaderItemsControlAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace