Share via


SilverlightTreeItem.PropertyNames Class

Contains a field for each property of the SilverlightTreeItem user interface (UI) testing control, where each field is named for, and returns, the name of the corresponding property.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightControl.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightTreeItem.PropertyNames

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

Syntax

'Declaration
Public MustInherit Class PropertyNames _
    Inherits SilverlightControl..::..PropertyNames
public abstract class PropertyNames : SilverlightControl..::..PropertyNames
public ref class PropertyNames abstract : public SilverlightControl..::..PropertyNames
[<AbstractClass>]
type PropertyNames =  
    class
        inherit SilverlightControl..::..PropertyNames
    end
public abstract class PropertyNames extends SilverlightControl..::..PropertyNames

The SilverlightTreeItem.PropertyNames type exposes the following members.

Constructors

  Name Description
Protected method SilverlightTreeItem.PropertyNames Initializes a new instance of the SilverlightTreeItem.PropertyNames class.

Top

Methods

  Name Description
Public method Equals (Inherited from UITestControl.PropertyNames.)
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 GetHashCode (Inherited from UITestControl.PropertyNames.)
Public method GetType (Inherited from UITestControl.PropertyNames.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString (Inherited from UITestControl.PropertyNames.)

Top

Fields

  Name Description
Public fieldStatic member Expanded Returns “Expanded”.
Public fieldStatic member HasChildNodes Returns “HasChildNodes”.
Public fieldStatic member Header Returns “Header”.
Public fieldStatic member Nodes Returns “Nodes”.
Public fieldStatic member ParentNode Returns “ParentNode”.
Public fieldStatic member Selected Returns “Selected”.

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