RibbonGroupAutomationPeer.CreateItemAutomationPeer Method
Creates a new RibbonControlDataAutomationPeer 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
- item
Type: System.Object
An object that is in the RibbonGroup that is associated with this RibbonGroupAutomationPeer.
Return Value
Type: System.Windows.Automation.Peers.ItemAutomationPeer
A RibbonControlDataAutomationPeer that is associated with the specified item.
.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.