ASP.NET Mobile控件参考[转]
.NET Mobile supports three main objects:
.NET Mobile支持三种主要的对象:
- The Mobile Page
手机页面 - The Mobile Form
手机窗口 - The Mobile Panel
手机面板
The Mobile Page is the container for the application.
Mobile页面是应用程序的容器
Each Mobile Page can have one or more Mobile Forms.
每页Mobile页面都有一个或多个Mobile窗口
Each Mobile Form can have zero ore more Mobile Panels.
每个Mobile窗口可以有零个或多个Mobile面板
Mobile Forms and Mobile Panels are used to group Mobile Controls.
Mobile窗口和Mobile面板用于给Mobile控件分组。
Mobile Controls
Mobile控件
Mobile Controls are grouped into:
Mobile控件分组为:
- User interface controls
用户界面控件 - Validation controls
检验控件 - Utility controls
效用控件
UI Controls
UI控件
UI controls are controls that displays the user interface:
UI控件是用于显示用户界面的控件
| Name 名称 |
Function 功能 |
|---|---|
| Command 命令 |
Performs an action 执行行为 |
| Form 窗口 |
Defines a container for mobile controls 给Mobile控件定义了容器 |
| Image 图像 |
Defines an image 定义了一个图像 |
| Label 标签 |
Defines a text 定义了文本 |
| Link 链接 |
Defines a hyperlink 定义了超链接 |
| List 列表 |
Defines a list 定义了列表 |
| MobilePage Mobile页面 |
Defines a base class for all mobile pages 给所有的Mobile页面定义了基础类 |
| ObjectList 对象列表 |
Defines a list of data objects 定义了数据列表 |
| Panel 面板 |
Defines a container for other controls 给其他控件定义了容器 |
| SelectionList 选择列表 |
Defines a list to select from 定义了可选择的列表 |
| StyleSheet 式样表 |
Defines styles to apply to other controls 定义了应用于其他控件的样式 |
| TextBox 文本框 |
Defines a single line input box 定义了单行输入框 |
| TextView 浏览器 |
Defines a multi-line input box 定义了多行输入框 |
Validation Controls
验证控件
Validation controls are used to validate the data entered by a user:
验证控件用于验证由用户输入的数据:
| Name 名称 |
Function 功能 |
|---|---|
| CompareValidator 比较验证 |
Compares the value of one input control to the value of another input control or to a fixed value 把一个输入控件的值和另一个输入控件的值比较,或和固定值比较 |
| CustomValidator 自定义验证 |
Allows you to write a method to handle the validation of the value entered 允许编写处理输入值验证的方法 |
| RangeValidator 范围验证 |
Checks that the user enters a value that falls between two values 确认用户输入的值落在两个纸3之间 |
| RegularExpressionValidator 常规表达式验证 |
Ensures that the value of an input control matches a specified pattern 确保输入控件的值与制定式样相匹配 |
| RequiredFieldValidator 被要求区验证 |
Makes an input control a required field 使一个输入控件成为被要求区域 |
| ValidationSummary 验证摘要 |
Displays a report of all validation errors occurred in a page 显示在页面出现的所有验证错误的报告 |
Utility Controls
效用控件
Utility controls support complicated user interfaces with minimum of code:
效用控件用最少的代码支持复杂的用户界面
| Name 名称 |
Function 功能 |
|---|---|
| AdRotator 广告转换 |
Displays advertisements 显示广告 |
| Calendar 日历 |
Displays a calendar 显示日历 |
| PhoneCall 电话呼叫 |
Calls a telephone number 显示一个电话号码 |
浙公网安备 33010602011771号