XamlToggleSwitch Class
Represents a Xaml toggle switch control.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlControl
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlToggleSwitch
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class XamlToggleSwitch _
Inherits XamlControl
[CLSCompliantAttribute(true)]
public class XamlToggleSwitch : XamlControl
[CLSCompliantAttribute(true)]
public ref class XamlToggleSwitch : public XamlControl
[<CLSCompliantAttribute(true)>]
type XamlToggleSwitch =
class
inherit XamlControl
end
public class XamlToggleSwitch extends XamlControl
The XamlToggleSwitch type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XamlToggleSwitch() | Initializes a new instance of the XamlToggleSwitch class. | |
XamlToggleSwitch(XamlControl) | Initializes a new instance of the XamlToggleSwitch class. |
Top
Properties
Name | Description | |
---|---|---|
AcceleratorKey | Gets the control's accelerator key. (Inherited from XamlControl.) | |
AccessKey | Gets the control's access key. (Inherited from XamlControl.) | |
AutomationId | Gets the control's automation Id. (Inherited from XamlControl.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
ClassName | (Inherited from UITestControl.) | |
Container | (Inherited from UITestControl.) | |
ControlType | (Inherited from UITestControl.) | |
DisplayText | Gets the display text of the toggle-switch. | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
Font | Gets the font if TextProperty is supported. (Inherited from XamlControl.) | |
FontSize | Gets the control's FontSize. (Inherited from XamlControl.) | |
FontWeight | Gets the control's FontWeight. (Inherited from XamlControl.) | |
FrameworkId | Gets the FrameworkId associated with the control. (Inherited from XamlControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
Height | (Inherited from UITestControl.) | |
HelpText | Gets the help text associated with the control. (Inherited from XamlControl.) | |
IsOn | Gets or sets the pressed state of the toggle-switch. | |
IsTopParent | (Inherited from UITestControl.) | |
ItemStatus | (Inherited from XamlControl.) | |
LabeledBy | Gets the control's label text. (Inherited from XamlControl.) | |
Left | (Inherited from UITestControl.) | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
State | (Inherited from UITestControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Width | (Inherited from UITestControl.) | |
WindowHandle | (Inherited from UITestControl.) | |
WindowTitles | (Inherited from UITestControl.) |
Top
Methods
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace