共用方式為


UITestControl Class

Definition

public ref class UITestControl
[System.CLSCompliant(true)]
public class UITestControl
[<System.CLSCompliant(true)>]
type UITestControl = class
Public Class UITestControl
Inheritance
UITestControl
Derived
Attributes

Constructors

UITestControl()
UITestControl(UITestControl)

Properties

BoundingRectangle
ClassName
Container
ControlType
Desktop
Enabled
Exists
FilterProperties
FriendlyName
HasFocus
Height
IsTopParent
Left
Name
NativeElement
SearchConfigurations
SearchProperties
SearchPropertiesSetExplicitly
State
TechnologyName
Top
TopParent
Width
WindowHandle
WindowTitles

Methods

CaptureImage()
CopyFrom(UITestControl)
DrawHighlight()
EnsureClickable()
EnsureClickable(Point)
Equals(Object)
Find()
FindMatchingControls()
GetChildren()
GetClickablePoint()
GetHashCode()
GetParent()
GetProperty(String)
GetUITestControlsForSearch()
SetFocus()
SetProperty(String, Object)
ToString()
TryFind()
TryGetClickablePoint(Point)
WaitForCondition<T>(T, Predicate<T>, Int32)
WaitForCondition<T>(T, Predicate<T>)
WaitForControlCondition(Predicate<UITestControl>, Int32)
WaitForControlCondition(Predicate<UITestControl>)
WaitForControlEnabled()
WaitForControlEnabled(Int32)
WaitForControlExist()
WaitForControlExist(Int32)
WaitForControlNotExist()
WaitForControlNotExist(Int32)
WaitForControlPropertyEqual(String, Object, Int32)
WaitForControlPropertyEqual(String, Object)
WaitForControlPropertyNotEqual(String, Object, Int32)
WaitForControlPropertyNotEqual(String, Object)
WaitForControlReady()
WaitForControlReady(Int32)

Operators

Equality(UITestControl, UITestControl)
Inequality(UITestControl, UITestControl)

Applies to