FirstElement Property

Visual Studio .NET 2003

Specifies the first element of an array to display in a ComboBox or ListBox control. Available at design time and run time.

Control.FirstElement[ = nElement]

Property Values

Specifies which element in the array is displayed as the first element in the list.


This property is available only when the RowSource is an array (RowSourceType = 5). Note that the FirstElement property only applies to ComboBoxes and ListBoxes with one column.

See Also

NumberOfElements Property | RowSource Property

Applies To: ComboBox | ListBox