XamlToggleSwitch Constructor (XamlControl)
Initializes a new instance of the XamlToggleSwitch class.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Sub New ( _
parent As XamlControl _
)
public XamlToggleSwitch(
XamlControl parent
)
public:
XamlToggleSwitch(
XamlControl^ parent
)
new :
parent:XamlControl -> XamlToggleSwitch
public function XamlToggleSwitch(
parent : XamlControl
)
Parameters
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace