AutomationElement.AutomationElementInformation.IsContentElement Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: