SilverlightLabel Class
Represents a label control.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightControl
Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightLabel
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 SilverlightLabel _
Inherits SilverlightControl
public class SilverlightLabel : SilverlightControl
public ref class SilverlightLabel : public SilverlightControl
type SilverlightLabel =
class
inherit SilverlightControl
end
public class SilverlightLabel extends SilverlightControl
The SilverlightLabel type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SilverlightLabel() | Initializes a new instance of the SilverlightLabel class. |
![]() |
SilverlightLabel(UITestControl) | Initializes a new instance of the SilverlightLabel class that has the 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.) |
![]() |
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.) |
![]() |
Target | Gets the control on which the label appears. |
![]() |
TechnologyName | (Inherited from UITestControl.) |
![]() |
Text | Gets the text of the label. |
![]() |
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