SilverlightElement Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
    Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.SilverlightElement

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class SilverlightElement _
    Inherits UITechnologyElement
[SerializableAttribute]
[ComVisibleAttribute(true)]
public sealed class SilverlightElement : UITechnologyElement
[SerializableAttribute]
[ComVisibleAttribute(true)]
public ref class SilverlightElement sealed : public UITechnologyElement
[<Sealed>]
[<SerializableAttribute>]
[<ComVisibleAttribute(true)>]
type SilverlightElement =  
    class
        inherit UITechnologyElement
    end
public final class SilverlightElement extends UITechnologyElement

The SilverlightElement type exposes the following members.

Properties

  Name Description
Public property ChildIndex (Overrides UITechnologyElement.ChildIndex.)
Public property ClassName (Overrides UITechnologyElement.ClassName.)
Public property ControlTypeName (Overrides UITechnologyElement.ControlTypeName.)
Public property DisplayText
Public property FriendlyName (Overrides UITechnologyElement.FriendlyName.)
Public property HelpText
Public property IsAutoCompleteBox
Public property IsLeafNode (Overrides UITechnologyElement.IsLeafNode.)
Public property IsPassword (Overrides UITechnologyElement.IsPassword.)
Public property IsTreeSwitchingRequired (Overrides UITechnologyElement.IsTreeSwitchingRequired.)
Public property Name (Overrides UITechnologyElement.Name.)
Public property NativeElement (Overrides UITechnologyElement.NativeElement.)
Public property QueryId (Overrides UITechnologyElement.QueryId.)
Public property SupportLevel (Inherited from UITechnologyElement.)
Public property SwitchingElement (Overrides UITechnologyElement.SwitchingElement.)
Public property TechnologyManager (Overrides UITechnologyElement.TechnologyManager.)
Public property TechnologyName (Overrides UITechnologyElement.TechnologyName.)
Public property TopLevelElement (Overrides UITechnologyElement.TopLevelElement.)
Public property Value (Overrides UITechnologyElement.Value.)
Public property WindowHandle (Overrides UITechnologyElement.WindowHandle.)
Public property WindowTitles (Inherited from UITechnologyElement.)

Top

Methods

  Name Description
Public method CacheProperties (Overrides UITechnologyElement.CacheProperties().)
Public method EnsureVisibleByScrolling (Overrides UITechnologyElement.EnsureVisibleByScrolling(Int32, Int32, Int32%, Int32%).)
Public method Equals(IUITechnologyElement) (Overrides UITechnologyElement.Equals(IUITechnologyElement).)
Public method Equals(Object) (Overrides Object.Equals(Object).)
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 GetBoundingRectangle (Overrides UITechnologyElement.GetBoundingRectangle(Int32%, Int32%, Int32%, Int32%).)
Public method GetClickablePoint (Overrides UITechnologyElement.GetClickablePoint(Int32%, Int32%).)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetNativeControlType (Overrides UITechnologyElement.GetNativeControlType(NativeControlTypeKind).)
Public method GetOption (Overrides UITechnologyElement.GetOption(UITechnologyElementOption).)
Public method GetPropertyValue (Overrides UITechnologyElement.GetPropertyValue(String).)
Public method GetQueryIdForRelatedElement (Overrides UITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%).)
Public method GetRequestedState (Overrides UITechnologyElement.GetRequestedState(AccessibleStates).)
Public method GetRightToLeftProperty (Overrides UITechnologyElement.GetRightToLeftProperty(RightToLeftKind).)
Public method GetScrolledPercentage (Overrides UITechnologyElement.GetScrolledPercentage(ScrollDirection, IUITechnologyElement).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeProgrammaticScroll (Overrides UITechnologyElement.InitializeProgrammaticScroll().)
Public method InvokeProgrammaticAction (Overrides UITechnologyElement.InvokeProgrammaticAction(ProgrammaticActionOption).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ScrollProgrammatically (Overrides UITechnologyElement.ScrollProgrammatically(ScrollDirection, ScrollAmount).)
Public method SetFocus (Overrides UITechnologyElement.SetFocus().)
Public method SetOption (Inherited from UITechnologyElement.)
Public method ToString (Overrides Object.ToString().)
Public method WaitForReady (Overrides UITechnologyElement.WaitForReady().)

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.UITest.Extension.Silverlight Namespace