Export (0) Print
Expand All

WpfProgressBar Class

Represents a progress bar control to test the user interface (UI) of Windows Presentation Foundation (WPF) applications.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public class WpfProgressBar : WpfControl

The WpfProgressBar type exposes the following members.

  NameDescription
Public methodWpfProgressBar()Initializes a new instance of the WpfProgressBar class.
Public methodWpfProgressBar(UITestControl)Initializes a new instance of the WpfProgressBar class by using the provided parent control.
Top

  NameDescription
Public propertyAcceleratorKeyGets the shortcut key that is assigned to this control. (Inherited from WpfControl.)
Public propertyAccessKeyGets the keyboard shortcut that is assigned to this control. (Inherited from WpfControl.)
Public propertyAutomationIdGets the automation ID that is assigned to this control. (Inherited from WpfControl.)
Public propertyBoundingRectangleGets the Bounding rectangle for this control. (Inherited from UITestControl.)
Public propertyClassNameGets the class name for this control. (Inherited from UITestControl.)
Public propertyContainerGets or sets the container of this UITestControl. (Inherited from UITestControl.)
Public propertyControlTypeGets the type of the UI Control. (Inherited from UITestControl.)
Public propertyEnabledGets a value that indicates whether this control is enabled. (Inherited from UITestControl.)
Public propertyExistsGets a value that indicates whether this control exists on the user interface. (Inherited from UITestControl.)
Public propertyFilterPropertiesGets the property-value pair collection that is used to disambiguate a control. (Inherited from UITestControl.)
Public propertyFontGets the name of the font for textual parts of this control. (Inherited from WpfControl.)
Public propertyFriendlyNameGets the name of this control to use in the user interface. (Inherited from UITestControl.)
Public propertyHasFocusGets a value that indicates whether this control currently has the focus in the user interface. (Inherited from UITestControl.)
Public propertyHelpTextGets the help text that is assigned to this control. (Inherited from WpfControl.)
Public propertyIsTopParentGets a value that indicates whether this control is the top-level element. (Inherited from UITestControl.)
Public propertyLabeledByGets the label text of this control. (Inherited from WpfControl.)
Public propertyMaximumValueGets the maximum numeric value for this progress bar control.
Public propertyMinimumValueGets the minimum numeric value for this progress bar control.
Public propertyNameGets the name of this control. (Inherited from UITestControl.)
Public propertyNativeElementGets the native technology element that corresponds to this control. (Inherited from UITestControl.)
Public propertyPositionGets the current numeric position for this progress bar control.
Public propertySearchConfigurationsGets or sets search configurations. (Inherited from UITestControl.)
Public propertySearchPropertiesGets the property-value pair collection that is used to identify a control. (Inherited from UITestControl.)
Protected propertySearchPropertiesSetExplicitlyGets a value that indicates whether the search properties for this control were set by the user in the user interface. (Inherited from UITestControl.)
Public propertyTechnologyNameGets or sets the technology framework that implements this control. (Inherited from UITestControl.)
Public propertyTopParentGets the top-level parent of this control. (Inherited from UITestControl.)
Public propertyWindowHandleGets the window handle for this control. (Inherited from UITestControl.)
Public propertyWindowTitlesGets a collection of the window titles of the top-level window. (Inherited from UITestControl.)
Top

  NameDescription
Public methodCaptureImageCaptures the image of the UITestControl. The UITestControl must be present on the screen. (Inherited from UITestControl.)
Public methodCopyFromCreates a UITestControl object that references the same element on the user interface as the original UITestControl. (Inherited from UITestControl.)
Public methodDrawHighlightHighlights the control. (Inherited from UITestControl.)
Public methodEnsureClickable()Scrolls the user interface to make sure that the control is clickable. (Inherited from UITestControl.)
Public methodEnsureClickable(Point)Scrolls the user interface to a specific point to make sure that the control is clickable. (Inherited from UITestControl.)
Public methodEqualsDetermines whether the specified UITestControl is equal to the current UITestControl. (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 methodFindFinds the UITestControl. (Inherited from UITestControl.)
Public methodFindMatchingControlsReturns a collection of all UITestControls that match the specified SearchProperties and FilterProperties. (Inherited from UITestControl.)
Public methodGetChildrenReturns a collection of all first-level children of the current UITestControl. (Inherited from UITestControl.)
Public methodGetClickablePointReturns a clickable point on the control. (Inherited from UITestControl.)
Public methodGetHashCodeReturns a unique value that represents the current UITestControl instance. (Inherited from UITestControl.)
Public methodGetParentReturns the parent of the current UITestControl. (Inherited from UITestControl.)
Public methodGetPropertyGets the value of the specified property. (Inherited from UITestControl.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodGetUITestControlsForSearchGets an array of child controls in this control. (Inherited from WpfControl.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetFocusSets the keyboard focus to the UITestControl. (Inherited from UITestControl.)
Public methodSetPropertySets the value of a given property. (Inherited from UITestControl.)
Public methodToStringReturns a String that represents the current UITestControl. (Inherited from UITestControl.)
Public methodTryGetClickablePointReturns a clickable point in the UITestControl. If the control is not clickable, this method returns false. (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>)Blocks the current thread until this control meets the specified condition, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>, Int32)Blocks the current thread until this control meets the specified condition, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlEnabled()Blocks the current thread until this control is enabled, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlEnabled(Int32)Blocks the current thread until this control is enabled, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlExist()Blocks the current thread until this control occurs in the user interface, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlExist(Int32)Blocks the current thread until this control occurs in the user interface, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlNotExist()Blocks the current thread until this control no longer exists in the user interface, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlNotExist(Int32)Blocks the current thread until this control no longer occurs in the user interface, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object)Blocks the current thread until the specified property of this control is equal to the specified value, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object, Int32)Blocks the current thread until the specified property of this control is equal to the specified value, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object)Blocks the current thread until the specified property of this control is not equal to the specified value, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object, Int32)Blocks the current thread until the specified property of this control is not equal to the specified value, or until the specified time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlReady()Blocks the current thread until this control is ready to receive mouse or keyboard input, or until the default time-out expires. (Inherited from UITestControl.)
Public methodWaitForControlReady(Int32)Blocks the current thread until this control is ready to receive mouse or keyboard input, or until the specified time-out expires. (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:
© 2014 Microsoft