WpfButton Properties

Include Protected Members
Include Inherited Members

The WpfButton type exposes the following members.

Properties

  Name Description
Public property AcceleratorKey Gets the shortcut key that is assigned to this control. (Inherited from WpfControl.)
Public property AccessKey Gets the keyboard shortcut that is assigned to this control. (Inherited from WpfControl.)
Public property AutomationId Gets the automation ID that is assigned to this control. (Inherited from WpfControl.)
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 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 Font Gets the name of the font for textual parts of this control. (Inherited from WpfControl.)
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 HelpText Gets the help text that is assigned to this control. (Inherited from WpfControl.)
Public property IsTopParent Gets a value that indicates whether this control is the top-level element. (Inherited from UITestControl.)
Public property LabeledBy Gets the label text of this control. (Inherited from WpfControl.)
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 TechnologyName Gets or sets the technology framework that implements this control. (Inherited from UITestControl.)
Public property TopParent Gets the top-level parent of this 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

WpfButton Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace