ListControl.SelectedIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets or sets the zero-based index of the currently selected item.
public:
abstract property int SelectedIndex { int get(); void set(int value); };
public abstract int SelectedIndex { get; set; }
member this.SelectedIndex : int with get, set
Public MustOverride Property SelectedIndex As Integer
Property Value
A zero-based index of the currently selected item. A value of negative one (-1) is returned if no item is selected.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.