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