Export (0) Print
Expand All

SilverlightTreeItem Class

Visual Studio 2010

Represents a tree item control.

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

public class SilverlightTreeItem : SilverlightControl

The SilverlightTreeItem type exposes the following members.

  NameDescription
Public methodSilverlightTreeItem()Initializes a new instance of the SilverlightTreeItem class.
Public methodSilverlightTreeItem(UITestControl)Initializes a new instance of the SilverlightTreeItem class that has the specified parent.
Top

  NameDescription
Public propertyAcceleratorKeyGets the shortcut key for the control. (Inherited from SilverlightControl.)
Public propertyAccessKeyGets the keyboard shortcut for the control. (Inherited from SilverlightControl.)
Public propertyAutomationIdGets the automation ID for the control. (Inherited from SilverlightControl.)
Public propertyBackgroundColorGets the background color for the control. (Inherited from SilverlightControl.)
Public propertyBoundingRectangle (Inherited from UITestControl.)
Public propertyClassName (Inherited from UITestControl.)
Public propertyContainer (Inherited from UITestControl.)
Public propertyControlType (Inherited from UITestControl.)
Public propertyEnabled (Inherited from UITestControl.)
Public propertyExists (Inherited from UITestControl.)
Public propertyExpandedGets or sets the expanded state of the tree item.
Public propertyFilterProperties (Inherited from UITestControl.)
Public propertyFontGets the font for the control. (Inherited from SilverlightControl.)
Public propertyForegroundColorGets the foreground color of the control. (Inherited from SilverlightControl.)
Public propertyFriendlyName (Inherited from UITestControl.)
Public propertyHasChildNodesGets or sets a value that represents whether this SilverlightTreeItem has child nodes.
Public propertyHasFocus (Inherited from UITestControl.)
Public propertyHeaderGets the header for the tree item.
Public propertyHeightGets the height of the control. (Inherited from SilverlightControl.)
Public propertyHelpTextGets the Help text for the control. (Inherited from SilverlightControl.)
Public propertyIsTopParent (Inherited from UITestControl.)
Public propertyLabeledByGets the label text for the control. (Inherited from SilverlightControl.)
Public propertyName (Inherited from UITestControl.)
Public propertyNativeElement (Inherited from UITestControl.)
Public propertyNodesGets the collection of nodes that belong to the tree item.
Public propertyParentNodeGets the parent node of this tree item.
Public propertySearchConfigurations (Inherited from UITestControl.)
Public propertySearchProperties (Inherited from UITestControl.)
Protected propertySearchPropertiesSetExplicitly (Inherited from UITestControl.)
Public propertySelectedGets or sets the selected state of the tree item.
Public propertyTechnologyName (Inherited from UITestControl.)
Public propertyTopParent (Inherited from UITestControl.)
Public propertyWidthGets the width of the control. (Inherited from SilverlightControl.)
Public propertyWindowHandle (Inherited from UITestControl.)
Public propertyWindowTitles (Inherited from UITestControl.)
Top

  NameDescription
Public methodCaptureImage (Inherited from UITestControl.)
Public methodCopyFrom (Inherited from UITestControl.)
Public methodDrawHighlight (Inherited from UITestControl.)
Public methodEnsureClickable() (Inherited from UITestControl.)
Public methodEnsureClickable(Point) (Inherited from UITestControl.)
Public methodEquals (Inherited from UITestControl.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFind (Inherited from UITestControl.)
Public methodFindMatchingControls (Inherited from UITestControl.)
Public methodGetChildren (Inherited from UITestControl.)
Public methodGetClickablePoint (Inherited from UITestControl.)
Public methodGetHashCode (Inherited from UITestControl.)
Public methodGetParent (Inherited from UITestControl.)
Public methodGetProperty (Inherited from UITestControl.)
Public methodGetPropertyAsStringGets the value of the specified property as a string. (Inherited from SilverlightControl.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodGetUITestControlsForSearchWhen overridden in a derived class, gets the array of UITestControl objects to search. (Inherited from SilverlightControl.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetFocus (Inherited from UITestControl.)
Public methodSetProperty (Inherited from UITestControl.)
Public methodToString (Inherited from UITestControl.)
Public methodTryGetClickablePoint (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>) (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>, Int32) (Inherited from UITestControl.)
Public methodWaitForControlEnabled() (Inherited from UITestControl.)
Public methodWaitForControlEnabled(Int32) (Inherited from UITestControl.)
Public methodWaitForControlExist() (Inherited from UITestControl.)
Public methodWaitForControlExist(Int32) (Inherited from UITestControl.)
Public methodWaitForControlNotExist() (Inherited from UITestControl.)
Public methodWaitForControlNotExist(Int32) (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object) (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object, Int32) (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object) (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object, Int32) (Inherited from UITestControl.)
Public methodWaitForControlReady() (Inherited from UITestControl.)
Public methodWaitForControlReady(Int32) (Inherited from UITestControl.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft