RibbonMenuItemAutomationPeer Constructor
Initializes a new instance of the RibbonMenuItemAutomationPeer class.
Namespace: Microsoft.Windows.Automation.Peers
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Sub New ( _
owner As RibbonMenuItem _
)
public RibbonMenuItemAutomationPeer(
RibbonMenuItem owner
)
public:
RibbonMenuItemAutomationPeer(
RibbonMenuItem^ owner
)
new :
owner:RibbonMenuItem -> RibbonMenuItemAutomationPeer
public function RibbonMenuItemAutomationPeer(
owner : RibbonMenuItem
)
Parameters
- owner
Type: Microsoft.Windows.Controls.Ribbon.RibbonMenuItem
The element associated with this automation peer.
.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.