ASP.NET Mobile SelectionList Control |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 作者:佚名 来源:本站整理 发布时间:2008-3-14 20:46:47 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Definition and Usage
|
| Property 属性 |
Value 值 |
Description 描述 |
|---|---|---|
| Alignment | left center right |
Optional. How to align the list 可选参数。定义列表的对齐方式 |
| BackColor | rgb(x,x,x) #xxxxxx colorname |
Optional. A background color for the list 可选参数。定义列表的背景颜色 |
| DataMember | dataMember | Optional. Specifies the data member to extract in data binding to a data source 可选参数。指定提取的数据成员(该数据是绑定到数据源的) |
| DataTextField | dataTextField | Optional. 可选参数 |
| DataValueField | dataValueField | Optional. 可选参数 |
| ForeColor | rgb(x,x,x) #xxxxxx colorname |
Optional. A foreground color for the list 可选参数。指定列表的前景颜色 |
| Font-Bold | false true |
Optional. Specifies whether or not the text in the list should be bold 可选参数。指定列表文本中的字体是否以粗体显示 |
| Font-Italic | false true |
Optional. Specifies whether or not the text in the list should be italic 可选参数。指定列表文本中的字体是否以斜体显示 |
| Font-Name | fontname | Optional. Specifies the font name of the text in the list 可选参数。指定列表文本中的字体名称 |
| Font-Size | normal small large |
Optional. Specifies the font size of the text in the list 可选参数。指定列表文本中的字体尺寸 |
| id | unique_name | Optional. A unique id for the control 可选参数。为控件指定一个独立的id |
| OnItemDataBind | function_name | Optional. The name of the function to be executed when an item is data bound to a MobileListItem object 可选参数。当一个项是绑定到一个MobileListItem 对象的数据时,指定需要执行的函数 |
| OnSelectedIndexChanged | function_name | Optional. The name of the function to be executed when the index of the selected item has changed 可选参数。当已选项的索引数被改变时,执行的函数名称 |
| Rows | rows | Optional. Specifies the number of rows to display. Default is "4" 可选参数。指定显示的行数。默认值为“4” |
| runat | "server" | Required. Specifies that the control is a server control 必要参数。指定该控件为服务器控件 |
| SelectType | DropDown ListBox Radio MultiSelectListBox CheckBox |
Optional. Specifies the type of list to display. "DropDown" is default. 可选参数。指定显示的列表样式。默认为“DropDown[下拉菜单]” |
| StyleReference | name_of_style_element | Optional. Specifies a reference to a style to be applied to the control 可选参数。指定一个应用于控件的样式参数 |
| Title | text | Optional. Specifies a title to display. Only for WML devices 可选参数。指定显示的标题。仅支持WML设备 |
| Wrapping | wrap nowrap |
Optional. Specifies whether or not the text in the list should wrap 可选参数。指定列表中的文本是否可以被嵌套 |
