Partager via


XamlComboBox.SelectedItem Property

Gets or sets the selected item in a combobox.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.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: String

.NET Framework Security

See Also

Reference

XamlComboBox Class

Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace