XamlButton Class
Represents a Xaml Button control.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlControl
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlButton
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Class XamlButton _
Inherits XamlControl
public class XamlButton : XamlControl
public ref class XamlButton : public XamlControl
type XamlButton =
class
inherit XamlControl
end
public class XamlButton extends XamlControl
The XamlButton type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XamlButton() | Initializes a new instance of the XamlButton class. | |
XamlButton(XamlControl) | Initializes a new instance of the XamlButton 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 button's display text. | |
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.) | |
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