AutomationElement.AutomationElementInformation.IsContentElement 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會得到一個值,指定該元素是否為內容元素。
public:
property bool IsContentElement { bool get(); };
public bool IsContentElement { get; }
member this.IsContentElement : bool
Public ReadOnly Property IsContentElement As Boolean
屬性值
true 若該元素是內容元素;否則 false。
備註
內容元素包含呈現給使用者的資料。 內容元素的例子包括清單框中的項目或對話框上的按鈕。 非內容元素,也稱為周邊元素,通常用於操作複合控制中的內容;例如,下拉按鈕上的按鈕。
如需詳細資訊,請參閱IsContentElementProperty。