Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the RibbonControlDataAutomationPeer class.
Namespace: Microsoft.Windows.Automation.Peers
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Sub New ( _
item As Object, _
itemsControlPeer As ItemsControlAutomationPeer _
)
public RibbonControlDataAutomationPeer(
Object item,
ItemsControlAutomationPeer itemsControlPeer
)
public:
RibbonControlDataAutomationPeer(
Object^ item,
ItemsControlAutomationPeer^ itemsControlPeer
)
new :
item:Object *
itemsControlPeer:ItemsControlAutomationPeer -> RibbonControlDataAutomationPeer
public function RibbonControlDataAutomationPeer(
item : Object,
itemsControlPeer : ItemsControlAutomationPeer
)
Parameters
- item
Type: System.Object
The element associated with this automation peer.
- itemsControlPeer
Type: System.Windows.Automation.Peers.ItemsControlAutomationPeer
The automation peer that is associated with the RibbonControlGroup that holds the RibbonControl.
.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.