SilverlightComboBox.SelectedItem Property
Gets or sets the selected item in the combo box.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)
Syntax
'Declaration
Public Overridable Property SelectedItem As String
Get
Set
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
A String that represents the selected item.
.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.SilverlightControls Namespace