Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Build Your Own ASP.NET 2.0 Web Site Using CSharp And VB (2006) [eng]-1.pdf
Скачиваний:
142
Добавлен:
16.08.2013
Размер:
15.69 Mб
Скачать

Appendix A: Web Control Reference

DataTextFormatString

specifies a format string that determines how the

 

ListBox is displayed

DataValueField

represents the field within the data source to use with

 

the ListBox’s value

Items

the collection of items within the ListBox

Rows

indicates the number of rows to display within the

 

ListBox; default value is 4

SelectedIndex

represents the index selected within the ListBox

SelectedItem

represents the item selected within the ListBox

SelectionMode

determines whether or not a user can select more than

 

one item at a time; possible values are Multiple and

 

Single

Events

SelectedIndexChanged raised when an item within the ListBox is selected

Literal

Properties

Text specifies the text displayed by the control

MultiView

Properties

ActiveViewIndex

specifies the index of the active view

Views

the ViewCollection object representing the collection

 

of views

Methods

 

GetActiveView

returns the active view as a View object

624