IsContentElement Property

AutomationElement.AutomationElementInformation.IsContentElement Property

 

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

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

public bool IsContentElement { get; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft