WpfComboBox.SelectedItem Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets the contents of the selected item in the list part of this combo box.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable Property SelectedItem As String
public virtual string SelectedItem { get; set; }
public:
virtual property String^ SelectedItem {
String^ get ();
void set (String^ value);
}
abstract SelectedItem : string with get, set
override SelectedItem : string with get, set
function get SelectedItem () : String
function set SelectedItem (value : String)
Property Value
Type: System.String
The contents of the selected item in the list part of this combo box.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace