WinButton Properties

Include Protected Members
Include Inherited Members

The WinButton type exposes the following members.

Properties

  Name Description
Public property AccessibleDescription Gets the description of the underlying IAccessible of this WinControl. (Inherited from WinControl.)
Public property AccessKey Gets the access key that is assigned to this control. (Inherited from WinControl.)
Public property BoundingRectangle Gets the Bounding rectangle for this control. (Inherited from UITestControl.)
Public property ClassName Gets the class name for this control. (Inherited from UITestControl.)
Public property Container Gets or sets the container of this UITestControl. (Inherited from UITestControl.)
Public property ControlId Gets the ID that is assigned to this control. (Inherited from WinControl.)
Public property ControlName Gets the name of this control. (Inherited from WinControl.)
Public property ControlType Gets the type of the UI Control. (Inherited from UITestControl.)
Public property DisplayText Gets the text of this button.
Public property Enabled Gets a value that indicates whether this control is enabled. (Inherited from UITestControl.)
Public property Exists Gets a value that indicates whether this control exists on the user interface. (Inherited from UITestControl.)
Public property FilterProperties Gets the property-value pair collection that is used to disambiguate a control. (Inherited from UITestControl.)
Public property FriendlyName Gets the name of this control to use in the user interface. (Inherited from UITestControl.)
Public property HasFocus Gets a value that indicates whether this control currently has the focus in the user interface. (Inherited from UITestControl.)
Public property Height Gets height of the control. (Inherited from UITestControl.)
Public property HelpText Gets the help text that is assigned to this control. (Inherited from WinControl.)
Public property IsTopParent Gets a value that indicates whether this control is the top-level element. (Inherited from UITestControl.)
Public property Left Gets the x-coordinate of the left edge of the control. (Inherited from UITestControl.)
Public property Name Gets the name of this control. (Inherited from UITestControl.)
Public property NativeElement Gets the native technology element that corresponds to this control. (Inherited from UITestControl.)
Public property SearchConfigurations Gets or sets search configurations. (Inherited from UITestControl.)
Public property SearchProperties Gets the property-value pair collection that is used to identify a control. (Inherited from UITestControl.)
Protected property SearchPropertiesSetExplicitly Gets a value that indicates whether the search properties for this control were set by the user in the user interface. (Inherited from UITestControl.)
Public property Shortcut Gets the shortcut for this button.
Public property State Gets the state of the control. (Inherited from UITestControl.)
Public property TechnologyName Gets or sets the technology framework that implements this control. (Inherited from UITestControl.)
Public property ToolTipText (Inherited from WinControl.)
Public property Top Gets the x-coordinate of the top edge of the control. (Inherited from UITestControl.)
Public property TopParent Gets the top-level parent of this control. (Inherited from UITestControl.)
Public property Width Gets width of the control. (Inherited from UITestControl.)
Public property WindowHandle Gets the window handle for this control. (Inherited from UITestControl.)
Public property WindowTitles Gets a collection of the window titles of the top-level window. (Inherited from UITestControl.)

Top

See Also

Reference

WinButton Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace