AutomationElement.AutomationElementInformation.IsContentElement Property

Definition

Gets a value that specifies whether the element is a content element.

public:
 property bool IsContentElement { bool get(); };
public bool IsContentElement { get; }
member this.IsContentElement : bool
Public ReadOnly Property IsContentElement As Boolean

Property Value

true if the element is a content element; otherwise false.

Remarks

A content element contains data that is presented to the user. Examples of content elements are the items in a list box or a button on a dialog box. Non-content elements, also called peripheral elements, are typically used to manipulate the content in a composite control; for example, the button on a drop-down control.

For more information, see IsContentElementProperty.

Applies to

See also