Share via


WpfToggleButton.DisplayText Property

Gets the text that is displayed in this toggle button control.

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

Syntax

'Declaration
Public Overridable ReadOnly Property DisplayText As String
public virtual string DisplayText { get; }
public:
virtual property String^ DisplayText {
    String^ get ();
}
abstract DisplayText : string with get 
override DisplayText : string with get
function get DisplayText () : String

Property Value

Type: String
The text that is displayed in this toggle button control.

.NET Framework Security

See Also

Reference

WpfToggleButton Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace