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