Share via


SilverlightComboBox.SelectedIndex Property

Gets or sets the index of the selected item.

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 SelectedIndex As Integer
    Get
    Set
public virtual int SelectedIndex { get; set; }
public:
virtual property int SelectedIndex {
    int get ();
    void set (int value);
}
abstract SelectedIndex : int with get, set
override SelectedIndex : int with get, set
function get SelectedIndex () : int
function set SelectedIndex (value : int)

Property Value

Type: System.Int32
An Int32 that represents the index of the selected item.

.NET Framework Security

See Also

Reference

SilverlightComboBox Class

Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls Namespace