ControlType.Image 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
标识图像控件。
public: static initonly System::Windows::Automation::ControlType ^ Image;
public static readonly System.Windows.Automation.ControlType Image;
staticval mutable Image : System.Windows.Automation.ControlType
Public Shared ReadOnly Image As ControlType
字段值
注解
控件 Image 类型可用作独立控件,也可以用作其他控件类型的子控件。 例如,按钮可以使用图像而不是文本向用户指示其功能。
仅用于装饰目的时,图像将显示在UI 自动化树的控件视图中(不在内容视图中)。