ControlType.Image 字段

定义

标识图像控件。

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 自动化树的控件视图中(不在内容视图中)。

适用于

另请参阅