SilverlightButton Class
Represents a Silverlight Button control.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightControl
Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightButton
Namespace: Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)
Syntax
'Declaration
Public Class SilverlightButton _
Inherits SilverlightControl
public class SilverlightButton : SilverlightControl
public ref class SilverlightButton : public SilverlightControl
type SilverlightButton =
class
inherit SilverlightControl
end
public class SilverlightButton extends SilverlightControl
The SilverlightButton type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SilverlightButton() | Initializes a new instance of the SilverlightButton class. | |
SilverlightButton(UITestControl) | Initializes a new instance of the SilverlightButton class by using a specified parent. |
Top
Properties
Name | Description | |
---|---|---|
AcceleratorKey | Gets the shortcut key for the control. (Inherited from SilverlightControl.) | |
AccessKey | Gets the keyboard shortcut for the control. (Inherited from SilverlightControl.) | |
AutomationId | Gets the automation ID for the control. (Inherited from SilverlightControl.) | |
BackgroundColor | Gets the background color for the control. (Inherited from SilverlightControl.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
ClassName | (Inherited from UITestControl.) | |
Container | (Inherited from UITestControl.) | |
ControlType | (Inherited from UITestControl.) | |
DisplayText | Gets the text that is displayed on the button. | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
Font | Gets the font for the control. (Inherited from SilverlightControl.) | |
ForegroundColor | Gets the foreground color of the control. (Inherited from SilverlightControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
Height | Gets the height of the control. (Inherited from SilverlightControl.) | |
HelpText | Gets the Help text for the control. (Inherited from SilverlightControl.) | |
IsTopParent | (Inherited from UITestControl.) | |
LabeledBy | Gets the label text for the control. (Inherited from SilverlightControl.) | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Width | Gets the width of the control. (Inherited from SilverlightControl.) | |
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.SilverlightControls Namespace