SilverlightControl Class

Represents a control.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightControl
      More...

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 SilverlightControl _
    Inherits UITestControl
public class SilverlightControl : UITestControl
public ref class SilverlightControl : public UITestControl
type SilverlightControl =  
    class
        inherit UITestControl
    end
public class SilverlightControl extends UITestControl

The SilverlightControl type exposes the following members.

Constructors

  Name Description
Public method SilverlightControl() Initializes a new instance of the SilverlightControl class.
Public method SilverlightControl(UITestControl) Initializes a new instance of the SilverlightControl class that has the specified parent.

Top

Properties

  Name Description
Public property AcceleratorKey Gets the shortcut key for the control.
Public property AccessKey Gets the keyboard shortcut for the control.
Public property AutomationId Gets the automation ID for the control.
Public property BackgroundColor Gets the background color for the control.
Public property BoundingRectangle (Inherited from UITestControl.)
Public property ClassName (Inherited from UITestControl.)
Public property Container (Inherited from UITestControl.)
Public property ControlType (Inherited from UITestControl.)
Public property Enabled (Inherited from UITestControl.)
Public property Exists (Inherited from UITestControl.)
Public property FilterProperties (Inherited from UITestControl.)
Public property Font Gets the font for the control.
Public property ForegroundColor Gets the foreground color of the control.
Public property FriendlyName (Inherited from UITestControl.)
Public property HasFocus (Inherited from UITestControl.)
Public property Height Gets the height of the control.
Public property HelpText Gets the Help text for the control.
Public property IsTopParent (Inherited from UITestControl.)
Public property LabeledBy Gets the label text for the control.
Public property Name (Inherited from UITestControl.)
Public property NativeElement (Inherited from UITestControl.)
Public property SearchConfigurations (Inherited from UITestControl.)
Public property SearchProperties (Inherited from UITestControl.)
Protected property SearchPropertiesSetExplicitly (Inherited from UITestControl.)
Public property TechnologyName (Inherited from UITestControl.)
Public property TopParent (Inherited from UITestControl.)
Public property Width Gets the width of the control.
Public property WindowHandle (Inherited from UITestControl.)
Public property WindowTitles (Inherited from UITestControl.)

Top

Methods

  Name Description
Public method CaptureImage (Inherited from UITestControl.)
Public method CopyFrom (Inherited from UITestControl.)
Public method DrawHighlight (Inherited from UITestControl.)
Public method EnsureClickable() (Inherited from UITestControl.)
Public method EnsureClickable(Point) (Inherited from UITestControl.)
Public method Equals (Inherited from UITestControl.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Find (Inherited from UITestControl.)
Public method FindMatchingControls (Inherited from UITestControl.)
Public method GetChildren (Inherited from UITestControl.)
Public method GetClickablePoint (Inherited from UITestControl.)
Public method GetHashCode (Inherited from UITestControl.)
Public method GetParent (Inherited from UITestControl.)
Public method GetProperty (Inherited from UITestControl.)
Public method GetPropertyAsString Gets the value of the specified property as a string.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetUITestControlsForSearch When overridden in a derived class, gets the array of UITestControl objects to search. (Overrides UITestControl.GetUITestControlsForSearch().)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetFocus (Inherited from UITestControl.)
Public method SetProperty (Inherited from UITestControl.)
Public method ToString (Inherited from UITestControl.)
Public method TryGetClickablePoint (Inherited from UITestControl.)
Public method WaitForControlCondition(Predicate<UITestControl>) (Inherited from UITestControl.)
Public method WaitForControlCondition(Predicate<UITestControl>, Int32) (Inherited from UITestControl.)
Public method WaitForControlEnabled() (Inherited from UITestControl.)
Public method WaitForControlEnabled(Int32) (Inherited from UITestControl.)
Public method WaitForControlExist() (Inherited from UITestControl.)
Public method WaitForControlExist(Int32) (Inherited from UITestControl.)
Public method WaitForControlNotExist() (Inherited from UITestControl.)
Public method WaitForControlNotExist(Int32) (Inherited from UITestControl.)
Public method WaitForControlPropertyEqual(String, Object) (Inherited from UITestControl.)
Public method WaitForControlPropertyEqual(String, Object, Int32) (Inherited from UITestControl.)
Public method WaitForControlPropertyNotEqual(String, Object) (Inherited from UITestControl.)
Public method WaitForControlPropertyNotEqual(String, Object, Int32) (Inherited from UITestControl.)
Public method WaitForControlReady() (Inherited from UITestControl.)
Public method WaitForControlReady(Int32) (Inherited from UITestControl.)

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

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightControl
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightButton
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightCalendar
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightCell
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightCheckBox
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightChildWindow
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightComboBox
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightDataPager
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightDatePicker
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightDescriptionViewer
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightEdit
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightFrame
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightHyperlink
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightImage
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightLabel
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightList
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightListItem
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightPage
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightProgressBar
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightRadioButton
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightRow
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightSlider
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightTab
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightTabItem
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightTable
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightText
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightTree
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightTreeItem
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightValidationSummary
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightViewBox