Dela via


RibbonAutomationPeer.CreateItemAutomationPeer Method

Creates a RibbonTabDataAutomationPeer 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 RibbonTabDataAutomationPeer that is associated with the specified item.

.NET Framework Security

See Also

Reference

RibbonAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace