ControlType.List 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
标识一个列表控件,例如列表框。
public: static initonly System::Windows::Automation::ControlType ^ List;
public static readonly System.Windows.Automation.ControlType List;
staticval mutable List : System.Windows.Automation.ControlType
Public Shared ReadOnly List As ControlType
字段值
注解
是 List 一个控件类型,它包含 ListItem 和 (可能) Group 控件类型。
控件 List 可用作独立控件或另一种控件类型的子控件。 例如,组合框具有一个 List 控件,该控件包含单击下拉按钮时显示的选项。 用作子控件时, List 仅在 UI 自动化树的控件视图中 (不在内容视图) 中。
用作子控件时, List 没有 Name
分配属性。