Represents a toolbar control to test the user interface (UI) of Windows Presentation Foundation (WPF) applications.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfControl
      Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfToolBar
Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WpfToolBar _
    Inherits WpfControl
[CLSCompliantAttribute(true)]
public class WpfToolBar : WpfControl
[CLSCompliantAttribute(true)]
public ref class WpfToolBar : public WpfControl
[<CLSCompliantAttribute(true)>]
type WpfToolBar =  
    class 
        inherit WpfControl 
    end
public class WpfToolBar extends WpfControl
The WpfToolBar type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | WpfToolBar() | Initializes a new instance of the WpfToolBar class. | 
| .gif) | WpfToolBar(UITestControl) | Initializes a new instance of the WpfToolBar class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AcceleratorKey | (Inherited from WpfControl.) | 
| .gif) | AccessKey | (Inherited from WpfControl.) | 
| .gif) | AutomationId | (Inherited from WpfControl.) | 
| .gif) | BoundingRectangle | (Inherited from UITestControl.) | 
| .gif) | ClassName | (Inherited from UITestControl.) | 
| .gif) | Container | (Inherited from UITestControl.) | 
| .gif) | ControlType | (Inherited from UITestControl.) | 
| .gif) | Enabled | (Inherited from UITestControl.) | 
| .gif) | Exists | (Inherited from UITestControl.) | 
| .gif) | FilterProperties | (Inherited from UITestControl.) | 
| .gif) | Font | (Inherited from WpfControl.) | 
| .gif) | FrameworkId | (Inherited from WpfControl.) | 
| .gif) | FriendlyName | (Inherited from UITestControl.) | 
| .gif) | HasFocus | (Inherited from UITestControl.) | 
| .gif) | Header | Gets the header for this toolbar control. | 
| .gif) | Height | (Inherited from UITestControl.) | 
| .gif) | HelpText | (Inherited from WpfControl.) | 
| .gif) | IsTopParent | (Inherited from UITestControl.) | 
| .gif) | Items | Gets a collection of items in this tool bar control. | 
| .gif) | ItemStatus | (Inherited from WpfControl.) | 
| .gif) | LabeledBy | (Inherited from WpfControl.) | 
| .gif) | Left | (Inherited from UITestControl.) | 
| .gif) | Name | (Inherited from UITestControl.) | 
| .gif) | NativeElement | (Inherited from UITestControl.) | 
| .gif) | SearchConfigurations | (Inherited from UITestControl.) | 
| .gif) | SearchProperties | (Inherited from UITestControl.) | 
| .gif) | SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | 
| .gif) | State | (Inherited from UITestControl.) | 
| .gif) | TechnologyName | (Inherited from UITestControl.) | 
| .gif) | ToolTipText | (Inherited from WpfControl.) | 
| .gif) | Top | (Inherited from UITestControl.) | 
| .gif) | TopParent | (Inherited from UITestControl.) | 
| .gif) | Width | (Inherited from UITestControl.) | 
| .gif) | WindowHandle | (Inherited from UITestControl.) | 
| .gif) | WindowTitles | (Inherited from UITestControl.) | 
Top
Methods
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace
.gif)