XamlToggleButton Class
Represents a Xaml toggle button control.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlControl
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlToggleButton
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 XamlToggleButton _
Inherits XamlControl
[CLSCompliantAttribute(true)]
public class XamlToggleButton : XamlControl
[CLSCompliantAttribute(true)]
public ref class XamlToggleButton : public XamlControl
[<CLSCompliantAttribute(true)>]
type XamlToggleButton =
class
inherit XamlControl
end
public class XamlToggleButton extends XamlControl
The XamlToggleButton type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XamlToggleButton() | Initializes a new instance of the XamlToggleButton class. | |
XamlToggleButton(XamlControl) | Initializes a new instance of the XamlToggleButton 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-button. | |
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.) | |
Indeterminate | Gets or sets the indeterminate state of the toggle-button. | |
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.) | |
Pressed | Gets or sets the pressed state of the toggle-button. | |
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