Share via


WpfEdit.SelectionText Property

Gets the selected text from the contents of this edit control.

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

Syntax

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

Property Value

Type: String
The selected text from the contents of this edit control.

.NET Framework Security

See Also

Reference

WpfEdit Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace