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