This documentation is archived and is not being maintained.

HtmlDiv.DisplayText Property

Gets the text in this control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public virtual string DisplayText { get; }

Property Value

Type: System.String
The text in this control.

Show: