表示用于测试 Windows Forms 用户界面 (UI) 的拆分按钮控件。
继承层次结构
System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinButton
        Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinSplitButton
命名空间:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
程序集:  Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
语法
声明
Public Class WinSplitButton _
    Inherits WinButton
public class WinSplitButton : WinButton
public ref class WinSplitButton : public WinButton
type WinSplitButton =  
    class
        inherit WinButton
    end
public class WinSplitButton extends WinButton
WinSplitButton 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
| .gif) | WinSplitButton() | 初始化 WinSplitButton 类的新实例。 | 
| .gif) | WinSplitButton(UITestControl) | 使用所提供的父控件初始化 WinSplitButton 类的一个新实例。 | 
页首
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | AccessKey | 获取分配给此控件的访问键。 (继承自 WinControl。) | 
| .gif) | BoundingRectangle | 获取此控件的边框。 (继承自 UITestControl。) | 
| .gif) | ClassName | 获取此控件的类名。 (继承自 UITestControl。) | 
| .gif) | Container | 获取或设置此 UITestControl 的容器。 (继承自 UITestControl。) | 
| .gif) | ControlId | 获取分配给此控件的 ID。 (继承自 WinControl。) | 
| .gif) | ControlName | 获取此控件的名称。 (继承自 WinControl。) | 
| .gif) | ControlType | 获取 UI 控件的类型。 (继承自 UITestControl。) | 
| .gif) | DisplayText | 获取此按钮的文本。 (继承自 WinButton。) | 
| .gif) | Enabled | 获取一个值,该值指示是否启用此控件。 (继承自 UITestControl。) | 
| .gif) | Exists | 获取一个值,该值指示此控件是否存在于用户界面中。 (继承自 UITestControl。) | 
| .gif) | FilterProperties | 获取用于消除控件歧义的属性-值对集合。 (继承自 UITestControl。) | 
| .gif) | FriendlyName | 获取该控件在用户接口中的名称。 (继承自 UITestControl。) | 
| .gif) | HasFocus | 获取指示此控件当前是否在用户界面中有焦点的值。 (继承自 UITestControl。) | 
| .gif) | HelpText | 获取分配给此控件的帮助文本。 (继承自 WinControl。) | 
| .gif) | IsTopParent | 获取指示此控件是否是顶级元素的值。 (继承自 UITestControl。) | 
| .gif) | Name | 获取此控件的名称。 (继承自 UITestControl。) | 
| .gif) | NativeElement | 获取与此控件对应的本机技术元素。 (继承自 UITestControl。) | 
| .gif) | SearchConfigurations | 获取或设置搜索配置。 (继承自 UITestControl。) | 
| .gif) | SearchProperties | 获取用于标识控件的属性-值对集合。 (继承自 UITestControl。) | 
| .gif) | SearchPropertiesSetExplicitly | 获取指示控件的查找属性是否在用户接口中被用户设定的值。 (继承自 UITestControl。) | 
| .gif) | Shortcut | 获取此按钮的快捷方式。 (继承自 WinButton。) | 
| .gif) | TechnologyName | 获取或设置实现此控件的技术框架。 (继承自 UITestControl。) | 
| .gif) | TopParent | 获取此控件的顶级父级。 (继承自 UITestControl。) | 
| .gif) | WindowHandle | 获取此控件的窗口句柄。 (继承自 UITestControl。) | 
| .gif) | WindowTitles | 获取顶层窗口的窗口标题的集合。 (继承自 UITestControl。) | 
页首
方法
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
.gif)