AutomationElement.AutomationElementInformation.IsContentElement Property

Definition

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

C#
public bool IsContentElement { get; }

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

Vara Útgáfur
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also