Asp.net MVC HtmlHelper类
Asp.net MVC HtmlHelper类
HtmlHelper 类提供了一些方法,帮助您以编程方式创建 HTML 控件。 所有 HtmlHelper 方法均生成 HTML,并以字符串形式返回结果。
Html.ActionLink 生成一个特定的控制器行为连接
<%:Html.ActionLink("Edit", "Edit", "Book", new { id = 1}, new { @class = "BookDetail" })%>
具体说明:
Edit,为linkText,具体而言就是显示的字符串
Edit,对应为ActionName;
Book,为Controller;
new { id = 1},
new { @class = “BookDetail” },则为元素添加了tag要素
效果:<a class="BookDetail" href="/Book/Edit/1">Edit</a>
Html.CheckBox 生成checkBox
<%:Html.CheckBox("a") %>
效果:<input id="a" name="a" type="checkbox" value="true" />
Html.DropDownList 生成DropDownList
<%
List<SelectListItem> items = new List<SelectListItem>();
items.Add( new SelectListItem { Text = "AAA", Value = "1" });
items.Add(new SelectListItem { Text = "BBB", Value = "2", Selected = true });
items.Add(new SelectListItem { Text = "CCC", Value = "3" });
ViewData["ListItems"] = items;
%>
<%:Html.DropDownList("ListItems") %>
效果:<select id="ListItems" name="ListItems">
<option value="1">AAA</option>
<option selected="selected" value="2">BBB</option>
<option value="3">CCC</option>
</select>
Html.Hidden 生成表单隐藏字段
<%:Html.Hidden("Type", 1) %>
效果:<input id="Type" name="Type" type="hidden" value="1" />
Html.ListBox 基于列键值对生成下拉框
<%= Html.ListBox("optionsList",
new[] { new SelectListItem { Text = "Option 1", Value = "opt1" },
new SelectListItem { Text = "Option 2", Value = "opt2" },
new SelectListItem { Text = "Option 3", Value = "opt3" }
}, "Choose an option"
) %>
效 果:<select Length="16" id="optionsList" multiple="multiple" name="optionsList"><option value="opt1">Option 1</option>
<option value="opt2">Option 2</option>
<option value="opt3">Option 3</option>
</select>
Html.RadioButton 可选按钮
<%:Html.RadioButton("Name","value") %>
效果:<input id="Name" name="Name" type="radio" value="value" />
Html.TextBox 生成文本框
<%:Html.TextBox("Name", "")%>
效果:<input id="Name" name="Name" type="text" value="" />
Password 呈现一个密码类型文本框
BeginForm 呈现一个form区域开始
EndForm 呈现一个form区域结束
RenderAction 呈现一个控制器行为方法
RenderPartial 由另一个视图引擎可选的呈现部分视图
RenderUserControl 呈现用户控件
RouteLink 生成特定的路由连接
SubmitButton 呈现一个类似按钮提交表单字段
SubmitImage 呈现一个类似图像提交表单字段
TextArea 呈现一个文本域
ValidationMessage 为特定的ViewData呈现一个验证信息
ValidationSummary 呈现一个ViewData的验证摘要。
---------------------------------------------------------------
命名空间:system.Web.Mvc,程序集:System.Web.Mvc(在System.Web.Mvc.dll中)
包含俩个默认的构造函数:htmlhelper(ViewContext,IViewDataContainer,RouteCollection)使用指定的视图上下文和视图数据容器和路由集合来初始化htmlhelper类的实例。
包含的属性:ClientValidationEnabled 该值指示是否是用户端的验证
IdAttributeDotReplacement 替换元素的ID特性中的句号的字符
RouteCollection 应用程序的路由的集合
UnobtrusiveJavaScriptEnabled 该值指示是否用非介入式JavaScript
ViewBag 获取视图包(只有get获取内容)
ViewContext 获取或设置有关视图的上下问的信息
ViewDat 获取当前的视图的数据字典
ViewDataContainer 视图的数据容器
方法:AnonymouseObjectToHtmlAttrbutes 在指定的HTML特性中,将下划线字符(_)替换为连字符(-
ta="public;inherited;notNetfw;" >
Action(String) | 重载。 调用指定子操作方法并以 HTML 字符串形式返回结果。 (由 ChildActionExtensions 定义。) |
ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" > ta="public;inherited;notNetfw;" >
Action(String, Object) | 重载。 使用指定参数调用指定子操作方法并以 HTML 字符串形式返回结果。 (由 ChildActionExtensions 定义。) | |
Action(String, RouteValueDictionary) | 重载。 使用指定参数调用指定子操作方法并以 HTML 字符串形式返回结果。 (由 ChildActionExtensions 定义。) | |
Action(String, String) | 重载。 使用指定控制器名称调用指定子操作方法,并以 HTML 字符串形式返回结果。 (由 ChildActionExtensions 定义。) | |
Action(String, String, Object) | 重载。 使用指定参数和控制器名称调用指定子操作方法,并以 HTML 字符串形式返回结果。 (由 ChildActionExtensions 定义。) | |
Action(String, String, RouteValueDictionary) | 重载。 使用指定参数和控制器名称调用指定子操作方法,并以 HTML 字符串形式返回结果。 (由 ChildActionExtensions 定义。) | |
ActionLink(String, String) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
ActionLink(String, String, Object) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
ActionLink(String, String, RouteValueDictionary) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
ActionLink(String, String, String) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
ActionLink(String, String, Object, Object) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
ActionLink(String, String, RouteValueDictionary, IDictionary<String, Object>) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
ActionLink(String, String, String, Object, Object) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
ActionLink(String, String, String, RouteValueDictionary, IDictionary<String, Object>) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
ActionLink(String, String, String, String, String, String, Object, Object) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
ActionLink(String, String, String, String, String, String, RouteValueDictionary, IDictionary<String, Object>) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
BeginForm() | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(Object) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(RouteValueDictionary) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(String, String) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(String, String, Object) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(String, String, RouteValueDictionary) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(String, String, FormMethod) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(String, String, Object, FormMethod) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(String, String, RouteValueDictionary, FormMethod) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(String, String, FormMethod, Object) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(String, String, FormMethod, IDictionary<String, Object>) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(String, String, Object, FormMethod, Object) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginForm(String, String, RouteValueDictionary, FormMethod, IDictionary<String, Object>) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由某个操作方法处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(Object) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(RouteValueDictionary) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(String) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(String, Object) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(String, RouteValueDictionary) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(String, FormMethod) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(String, Object, FormMethod) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(String, RouteValueDictionary, FormMethod) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(String, FormMethod, Object) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(String, FormMethod, IDictionary<String, Object>) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(String, Object, FormMethod, Object) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
BeginRouteForm(String, RouteValueDictionary, FormMethod, IDictionary<String, Object>) | 重载。 <form> tag to the response.' data-guid="bde70d84624963771c38b00166c29055">将 <form> 开始标记写入响应。 在用户提交窗体时,将由路由目标处理该请求。 (由 FormExtensions 定义。) | |
CheckBox(String) | 重载。 input element by using the specified HTML helper and the name of the form field.' data-guid="0a42a3e9beb8c2e5329c6ff95b9be66a">通过使用指定的 HTML 帮助器和窗体字段名称,返回复选框 input 元素。 (由 InputExtensions 定义。) | |
CheckBox(String, Boolean) | 重载。 input element by using the specified HTML helper, the name of the form field, and a value to indicate whether the check box is selected.' data-guid="9fbda1a99632e4a59e56685fec110cd9">通过使用指定的 HTML 帮助器、窗体字段名称以及一个用于指示是否已选中复选框的值,返回复选框 input 元素。 (由 InputExtensions 定义。) | |
CheckBox(String, Object) | 重载。 input element by using the specified HTML helper, the name of the form field, and the HTML attributes.' data-guid="a1f6c6ef0e8b8965035ffd8ff5ab1525">通过使用指定的 HTML 帮助器、窗体字段的名称和 HTML 特性,返回复选框 input 元素。 (由 InputExtensions 定义。) | |
CheckBox(String, IDictionary<String, Object>) | 重载。 input element by using the specified HTML helper, the name of the form field, and the HTML attributes.' data-guid="a1f6c6ef0e8b8965035ffd8ff5ab1525">通过使用指定的 HTML 帮助器、窗体字段的名称和 HTML 特性,返回复选框 input 元素。 (由 InputExtensions 定义。) | |
CheckBox(String, Boolean, Object) | 重载。 input element by using the specified HTML helper, the name of the form field, a value that indicates whether the check box is selected, and the HTML attributes.' data-guid="0bf7d7b389909821c839c2139b558246">通过使用指定的 HTML 帮助器、窗体字段的名称、用于指示是否已选中复选框的值以及 HTML 特性,返回复选框 input 元素。 (由 InputExtensions 定义。) | |
CheckBox(String, Boolean, IDictionary<String, Object>) | 重载。 input element by using the specified HTML helper, the name of the form field, a value to indicate whether the check box is selected, and the HTML attributes.' data-guid="5c74faa33d22834c8e61999c1285aeba">通过使用指定的 HTML 帮助器、窗体字段的名称、用于指示是否已选中复选框的值以及 HTML 特性,返回复选框 input 元素。 (由 InputExtensions 定义。) | |
Display(String) | 重载。 返回由字符串表达式表示的对象中的每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
Display(String, Object) | 重载。 使用附加视图数据,返回由字符串表达式表示的对象中的每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
Display(String, String) | 重载。 使用指定模板返回一个由表达式表示的对象中的每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
Display(String, String, Object) | 重载。 使用指定模板和附加视图数据,返回由表达式表示的对象中的每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
Display(String, String, String) | 重载。 使用指定模板和 HTML 字段 ID,返回由表达式表示的对象中的每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
Display(String, String, String, Object) | 重载。 使用指定模板、HTML 字段 ID 和附加视图数据,返回由表达式表示的对象中的每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
DisplayForModel() | 重载。 返回模型中每个属性所对应的 HTML 标记。 (由 DisplayExtensions定义。) | |
DisplayForModel(Object) | 重载。 使用附加视图数据,返回模型中的每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
DisplayForModel(String) | 重载。 使用指定模板返回模型中每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
DisplayForModel(String, Object) | 重载。 使用指定模板和附加视图数据,返回模型中的每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
DisplayForModel(String, String) | 重载。 使用指定模板和 HTML 字段 ID 返回模型中每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
DisplayForModel(String, String, Object) | 重载。 使用指定模板、HTML 字段 ID 和附加视图数据,返回模型中的每个属性所对应的 HTML 标记。 (由 DisplayExtensions 定义。) | |
DisplayName | 获取显示名称。 (由 DisplayNameExtensions 定义。) | |
DisplayNameForModel | 获取模型的显示名称。 (由 DisplayNameExtensions 定义。) | |
DisplayText | 返回指定表达式所表示对象中的每个属性所对应的 HTML 标记。 (由 DisplayTextExtensions 定义。) | |
DropDownList(String) | 重载。 select element using the specified HTML helper and the name of the form field.' data-guid="b7eb1bd921121a05dd66eb1fbf3770bf">通过使用指定的 HTML 帮助器和窗体字段的名称,返回单选 select 元素。 (由 SelectExtensions 定义。) | |
DropDownList(String, String) | 重载。 select element using the specified HTML helper, the name of the form field, and an option label.' data-guid="c3e5a4a8876f1e25dfc84e983aa87d2b">通过使用指定的 HTML 帮助器、窗体字段的名称和选项标签,返回单选 select 元素。 (由 SelectExtensions 定义。) | |
DropDownList(String, IEnumerable<SelectListItem>) | 重载。 select element using the specified HTML helper, the name of the form field, and the specified list items.' data-guid="a8f2a205f33b23e8e80b8a4a350d0f4d">通过使用指定的 HTML 帮助器、窗体字段的名称和指定列表项,返回单选 select 元素。 (由 SelectExtensions 定义。) | |
DropDownList(String, IEnumerable<SelectListItem>, Object) | 重载。 select element using the specified HTML helper, the name of the form field, the specified list items, and the specified HTML attributes.' data-guid="4747afcee5114e8142ebb3e2b296b895">通过使用指定的 HTML 帮助器、窗体字段的名称、指定列表项和指定的 HTML 特性,返回单选 select 元素。 (由 SelectExtensions 定义。) | |
DropDownList(String, IEnumerable<SelectListItem>, IDictionary<String, Object>) | 重载。 select element using the specified HTML helper, the name of the form field, the specified list items, and the specified HTML attributes.' data-guid="4747afcee5114e8142ebb3e2b296b895">通过使用指定的 HTML 帮助器、窗体字段的名称、指定列表项和指定的 HTML 特性,返回单选 select 元素。 (由 SelectExtensions 定义。) | |
DropDownList(String, IEnumerable<SelectListItem>, String) | 重载。 select element using the specified HTML helper, the name of the form field, the specified list items, and an option label.' data-guid="120f72fba9a9d2ec045512b3f5dd3e8e">通过使用指定的 HTML 帮助器、窗体字段的名称、指定列表项和选项标签,返回单选 select 元素。 (由 SelectExtensions 定义。) | |
DropDownList(String, IEnumerable<SelectListItem>, String, Object) | 重载。 select element using the specified HTML helper, the name of the form field, the specified list items, an option label, and the specified HTML attributes.' data-guid="7b7345634311ccd91a97c85cfbd0c457">通过使用指定的 HTML 帮助器、窗体字段的名称、指定列表项、选项标签和指定的 HTML 特性,返回单选 select 元素。 (由 SelectExtensions 定义。) | |
DropDownList(String, IEnumerable<SelectListItem>, String, IDictionary<String, Object>) | 重载。 select element using the specified HTML helper, the name of the form field, the specified list items, an option label, and the specified HTML attributes.' data-guid="7b7345634311ccd91a97c85cfbd0c457">通过使用指定的 HTML 帮助器、窗体字段的名称、指定列表项、选项标签和指定的 HTML 特性,返回单选 select 元素。 (由 SelectExtensions 定义。) | |
Editor(String) | 重载。 input element for each property in the object that is represented by the expression.' data-guid="8240fd849a50d4496a24b25879f94a66">返回一个由表达式表示的对象中的每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
Editor(String, Object) | 重载。 input element for each property in the object that is represented by the expression, using additional view data.' data-guid="46a0d4921fb349b9a1bc15fce04bc160">使用其他视图数据,返回由表达式表示的对象中的每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
Editor(String, String) | 重载。 input element for each property in the object that is represented by the expression, using the specified template.' data-guid="3f7721d5c096d4b1ff72f0ca01aa67ba">使用指定模板返回一个由表达式表示的对象中的每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
Editor(String, String, Object) | 重载。 input element for each property in the object that is represented by the expression, using the specified template and additional view data.' data-guid="9a714babd81d59c2a2baa92d2c63831d">使用指定模板和其他视图数据,返回由表达式表示的对象中的每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
Editor(String, String, String) | 重载。 input element for each property in the object that is represented by the expression, using the specified template and HTML field name.' data-guid="12ced941ab6c80c9ecb8032b45aac55d">使用指定模板和 HTML 字段名返回一个由表达式表示的对象中的每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
Editor(String, String, String, Object) | 重载。 input element for each property in the object that is represented by the expression, using the specified template, HTML field name, and additional view data.' data-guid="6a8d6b0dff2f23ed9404442a84deb122">使用指定模板、HTML 字段名和其他视图数据,返回由表达式表示的对象中的每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
EditorForModel() | 重载。 input element for each property in the model.' data-guid="3d85b64f7b25eb081349cb6a71095d6f">返回模型中的每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
EditorForModel(Object) | 重载。 input element for each property in the model, using additional view data.' data-guid="2fbf0aec6aa2518b15129cf9384e99b1">使用其他视图数据,返回模型中每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
EditorForModel(String) | 重载。 input element for each property in the model, using the specified template.' data-guid="07fbda56196a2846264d594740780752">使用指定模板返回模型中每个属性所对应的 HTML input 元素。 (由EditorExtensions 定义。) | |
EditorForModel(String, Object) | 重载。 input element for each property in the model, using the specified template and additional view data.' data-guid="863e3d2f89199a33c3b60eeacb1d9796">使用指定模板和其他视图数据,返回模型中的每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
EditorForModel(String, String) | 重载。 input element for each property in the model, using the specified template name and HTML field name.' data-guid="5921f6ed3f240c70e237d54d12cbf2eb">使用指定模板名称和 HTML 字段名,返回模型中的每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
EditorForModel(String, String, Object) | 重载。 input element for each property in the model, using the template name, HTML field name, and additional view data.' data-guid="a841d9bef382074ad1683289f673d536">使用模板名称、HTML 字段名和其他视图数据,返回模型中的每个属性所对应的 HTML input 元素。 (由 EditorExtensions 定义。) | |
EndForm | </form> tag to the response.' data-guid="93159d8e2d0c7cdf02c30ce0da8d0bdb">将 </form> 结束标记呈现到响应中。 (由 FormExtensions 定义。) | |
Hidden(String) | 重载。 input element by using the specified HTML helper and the name of the form field.' data-guid="8a86966803b76fd44ea42f22a36edbdd">通过使用指定的 HTML 帮助器和窗体字段的名称,返回隐藏的 input 元素。 (由 InputExtensions 定义。) | |
Hidden(String, Object) | 重载。 input element by using the specified HTML helper, the name of the form field, and the value.' data-guid="e9ec8e459a907fc18b5f7968656a93f8">通过使用指定的 HTML 帮助器、窗体字段的名称和值,返回隐藏的 input 元素。 (由 InputExtensions 定义。) | |
Hidden(String, Object, Object) | 重载。 input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.' data-guid="cd9e9f990e731954cf2d6d79c82807b9">通过使用指定的 HTML 帮助器、窗体字段的名称、值和 HTML 特性,返回隐藏的 input 元素。 (由 InputExtensions 定义。) | |
Hidden(String, Object, IDictionary<String, Object>) | 重载。 input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.' data-guid="cd9e9f990e731954cf2d6d79c82807b9">通过使用指定的 HTML 帮助器、窗体字段的名称、值和 HTML 特性,返回隐藏的 input 元素。 (由 InputExtensions 定义。) | |
Id | HtmlHelper string.' data-guid="0d92dcc08249387d8b4dbea2fd7676e1">获取 HtmlHelper 字符串的 ID。 (由 NameExtensions 定义。) | |
IdForModel | HtmlHelper string.' data-guid="0d92dcc08249387d8b4dbea2fd7676e1">获取 HtmlHelper 字符串的 ID。 (由 NameExtensions 定义。) | |
Label(String) | 重载。 select element using the specified HTML helper and the name of the form field.' data-guid="df5088499220be878b0fd50e4c68b219">返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
Label(String, String) | 重载。 select element using the specified HTML helper, the name of the form field, and the specified list items.' data-guid="7f5606d2951343561fe3ce13cb2af01e">使用标签文本,返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
Label(String, Object) | 重载。 select element using the specified HTML helper, the name of the form field, and the specified list items.' data-guid="df5088499220be878b0fd50e4c68b219">返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
Label(String, IDictionary<String, Object>) | 重载。 select element using the specified HTML helper, the name of the form field, the specified list items, and the specified HMTL attributes.' data-guid="df5088499220be878b0fd50e4c68b219">返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
Label(String, String, Object) | 重载。 返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
Label(String, String, IDictionary<String, Object>) | 重载。 返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
LabelForModel() | 重载。 返回一个 HTML label 元素以及由模型表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
LabelForModel(String) | 重载。 使用标签文本,返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
LabelForModel(Object) | 重载。 返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
LabelForModel(IDictionary<String, Object>) | 重载。 返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
LabelForModel(String, Object) | 重载。 input element by using the specified HTML helper and the name of the form field.' data-guid="df5088499220be878b0fd50e4c68b219">返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
LabelForModel(String, IDictionary<String, Object>) | 重载。 input element by using the specified HTML helper, the name of the form field, and the value.' data-guid="df5088499220be878b0fd50e4c68b219">返回一个 HTML label 元素以及由指定表达式表示的属性的属性名称。 (由 LabelExtensions 定义。) | |
ListBox(String) | 重载。 input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.' data-guid="021235e50110910ea841bc6edde08745">通过使用指定的 HTML 帮助器和窗体字段的名称,返回多选 select 元素。 (由 SelectExtensions 定义。) | |
ListBox(String, IEnumerable<SelectListItem>) | 重载。 input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.' data-guid="6ec95df6eee11890ec0fe6548cab1e68">通过使用指定的 HTML 帮助器、窗体字段的名称和指定列表项,返回多选 select 元素。 (由 SelectExtensions 定义。) | |
ListBox(String, IEnumerable<SelectListItem>, Object) | 重载。 input element that is used to present mutually exclusive options.' data-guid="6ec95df6eee11890ec0fe6548cab1e68">通过使用指定的 HTML 帮助器、窗体字段的名称和指定列表项,返回多选 select 元素。 (由 SelectExtensions 定义。) | |
ListBox(String, IEnumerable<SelectListItem>, IDictionary<String, Object>) | 重载。 input element that is used to present mutually exclusive options.' data-guid="d6563f5ae93a6608b4a812b5766ef529">通过使用指定的 HTML 帮助器、窗体字段的名称、指定的列表项和指定的 HTML 特性,返回多选 select 元素。 (由 SelectExtensions 定义。) | |
Name | input element that is used to present mutually exclusive options.' data-guid="3c99b508fca4fc9c274d67bdfaadaf5c">获取由表达式表示的对象的完整 HTML 字段名。 (由 NameExtensions 定义。) | |
NameForModel | input element that is used to present mutually exclusive options.' data-guid="3c99b508fca4fc9c274d67bdfaadaf5c">获取由表达式表示的对象的完整 HTML 字段名。 (由 NameExtensions 定义。) | |
Partial(String) | 重载。 input element that is used to present mutually exclusive options.' data-guid="fdbecaca154c5abe7c25f10920392401">以 HTML 编码字符串的形式呈现指定的分部视图。 (由 PartialExtensions 定义。) | |
Partial(String, ViewDataDictionary) | 重载。 input element that is used to present mutually exclusive options.' data-guid="fdbecaca154c5abe7c25f10920392401">以 HTML 编码字符串的形式呈现指定的分部视图。 (由 PartialExtensions 定义。) | |
Partial(String, Object) | 重载。 以 HTML 编码字符串的形式呈现指定的分部视图。 (由 PartialExtensions 定义。) | |
Partial(String, Object, ViewDataDictionary) | 重载。 以 HTML 编码字符串的形式呈现指定的分部视图。 (由 PartialExtensions 定义。) | |
Password(String) | 重载。 通过使用指定的 HTML 帮助器和窗体字段的名称,返回密码 input 元素。 (由 InputExtensions 定义。) | |
Password(String, Object) | 重载。 通过使用指定的 HTML 帮助器、窗体字段的名称和值,返回密码 input 元素。 (由 InputExtensions 定义。) | |
Password(String, Object, Object) | 重载。 通过使用指定的 HTML 帮助器、窗体字段的名称、值和 HTML 特性,返回密码 input 元素。 (由 InputExtensions 定义。) | |
Password(String, Object, IDictionary<String, Object>) | 重载。 通过使用指定的 HTML 帮助器、窗体字段的名称、值和 HTML 特性,返回密码 input 元素。 (由 InputExtensions 定义。) | |
RadioButton(String, Object) | 重载。 返回用于呈现互斥选项的单选按钮 input 元素。 (由 InputExtensions 定义。) | |
RadioButton(String, Object, Object) | 重载。 ViewData property with the specified ViewDataDictionary object.' data-guid="85d36763c06f6a3e1eaa72510aa8bfcc">返回用于呈现互斥选项的单选按钮 input 元素。 (由 InputExtensions 定义。) | |
RadioButton(String, Object, IDictionary<String, Object>) | 重载。 ViewDataDictionary object, but with the Model property set to the specified model.' data-guid="85d36763c06f6a3e1eaa72510aa8bfcc">返回用于呈现互斥选项的单选按钮 input 元素。 (由 InputExtensions 定义。) | |
RadioButton(String, Object, Boolean) | 重载。 ViewData property with the specified ViewDataDictionary object and setting the Model property of the view data to the specified model." data-guid="85d36763c06f6a3e1eaa72510aa8bfcc">返回用于呈现互斥选项的单选按钮 input 元素。 (由 InputExtensions 定义。) | |
RadioButton(String, Object, Boolean, Object) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="85d36763c06f6a3e1eaa72510aa8bfcc">返回用于呈现互斥选项的单选按钮 input 元素。 (由 InputExtensions 定义。) | |
RadioButton(String, Object, Boolean, IDictionary<String, Object>) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="85d36763c06f6a3e1eaa72510aa8bfcc">返回用于呈现互斥选项的单选按钮 input 元素。 (由 InputExtensions 定义。) | |
RenderAction(String) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="d4cb16893ff44dd6785277d8bcb41560">调用指定子操作方法并在父视图中以内联方式呈现结果。 (由 ChildActionExtensions 定义。) | |
RenderAction(String, Object) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="87596bc58c26307cc7a20826cf448cd9">使用指定参数调用指定子操作方法,并在父视图中以内联方式呈现结果。 (由 ChildActionExtensions 定义。) | |
RenderAction(String, RouteValueDictionary) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="87596bc58c26307cc7a20826cf448cd9">使用指定参数调用指定子操作方法,并在父视图中以内联方式呈现结果。 (由 ChildActionExtensions 定义。) | |
RenderAction(String, String) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="4a000a833496d4d29cfb9b1e85e0e2c7">使用指定控制器名称调用指定子操作方法,并在父视图中以内联方式呈现结果。 (由 ChildActionExtensions 定义。) | |
RenderAction(String, String, Object) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="eb94d3c8044574e659d1ea01920aa7ea">使用指定参数和控制器名称调用指定子操作方法,并在父视图中以内联方式呈现结果。 (由 ChildActionExtensions 定义。) | |
RenderAction(String, String, RouteValueDictionary) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="eb94d3c8044574e659d1ea01920aa7ea">使用指定参数和控制器名称调用指定子操作方法,并在父视图中以内联方式呈现结果。 (由 ChildActionExtensions 定义。) | |
RenderPartial(String) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="43fde600032a945e6a7e54a1f7caa455">使用指定的 HTML 帮助器来呈现指定的分部视图。 (由 RenderPartialExtensions 定义。) | |
RenderPartial(String, ViewDataDictionary) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="df1d9c4a0a77e300614f12ac4d6296e5">呈现指定的分部视图,并使用指定的 ViewDataDictionary 对象替换其 ViewData 属性。 (由 RenderPartialExtensions 定义。) | |
RenderPartial(String, Object) | 重载。 a element) that contains the virtual path of the specified action.' data-guid="4c3bdd04dabe5dda40cdc0137997a210">呈现指定的分部视图,并向其传递当前 ViewDataDictionary 对象的副本,但应将 Model 属性设置为指定的模型。 (由 RenderPartialExtensions 定义。) | |
RenderPartial(String, Object, ViewDataDictionary) | 重载。 textarea element by using the specified HTML helper and the name of the form field.' data-guid="33129d2fac154a51c5d940f0d9bbd7f0">呈现指定的分部视图,使用指定的 ViewDataDictionary 对象替换分部视图的 ViewData 属性,并将视图数据的 Model 属性设置为指定的模型。(由 RenderPartialExtensions 定义。) | |
RouteLink(String, Object) | 重载。 textarea element by using the specified HTML helper and HTML attributes.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
RouteLink(String, RouteValueDictionary) | 重载。 textarea element by using the specified HTML helper, the name of the form field, and the specified HTML attributes.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
RouteLink(String, String) | 重载。 textarea element by using the specified HTML helper, the name of the form field, and the text content.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
RouteLink(String, String, Object) | 重载。 textarea element by using the specified HTML helper, the name of the form field, the text content, and the specified HTML attributes.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
RouteLink(String, String, RouteValueDictionary) | 重载。 textarea element by using the specified HTML helper, the name of the form field, the text content, and the specified HTML attributes.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
RouteLink(String, Object, Object) | 重载。 textarea element by using the specified HTML helper, the name of the form field, the text content, the number of rows and columns, and the specified HTML attributes.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
RouteLink(String, RouteValueDictionary, IDictionary<String, Object>) | 重载。 textarea element by using the specified HTML helper, the name of the form field, the text content, the number of rows and columns, and the specified HTML attributes.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
RouteLink(String, String, Object, Object) | 重载。 input element by using the specified HTML helper and the name of the form field.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
RouteLink(String, String, RouteValueDictionary, IDictionary<String, Object>) | 重载。 input element by using the specified HTML helper, the name of the form field, and the value.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
RouteLink(String, String, String, String, String, Object, Object) | 重载。 input element.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
RouteLink(String, String, String, String, String, RouteValueDictionary, IDictionary<String, Object>) | 重载。 input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.' data-guid="3bcfa018352c70a8f00584f107791724">返回包含指定操作的虚拟路径的定位点元素(a 元素)。 (由 LinkExtensions 定义。) | |
TextArea(String) | 重载。 input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.' data-guid="ce7283e0521bbd57044c0ae6e00410d1">通过使用指定的 HTML 帮助器和窗体字段的名称,返回指定的 textarea 元素。 (由 TextAreaExtensions 定义。) | |
TextArea(String, Object) | 重载。 input element.' data-guid="544a4cfd6ea044e4a59bfdd2f3c495a0">通过使用指定的 HTML 帮助器和 HTML 特性,返回指定的 textarea 元素。 (由 TextAreaExtensions 定义。) | |
TextArea(String, IDictionary<String, Object>) | 重载。 input element.' data-guid="f186ebe3a3b5dc54a039f506bf648ec5">通过使用指定的 HTML 帮助器、窗体字段的名称和指定的 HTML 特性,返回指定的 textarea 元素。 (由 TextAreaExtensions 定义。) | |
TextArea(String, String) | 重载。 通过使用指定的 HTML 帮助器、窗体字段的名称和文本内容,返回指定的 textarea 元素。 (由 TextAreaExtensions 定义。) | |
TextArea(String, String, Object) | 重载。 ModelStateDictionary object.' data-guid="5d25a67c43ef0f4d419963c04544e73b">通过使用指定的 HTML 帮助器、窗体字段的名称、文本内容和指定的 HTML 特性,返回指定的 textarea 元素。 (由 TextAreaExtensions 定义。) | |
TextArea(String, String, IDictionary<String, Object>) | 重载。 ModelStateDictionary object.' data-guid="5d25a67c43ef0f4d419963c04544e73b">通过使用指定的 HTML 帮助器、窗体字段的名称、文本内容和指定的 HTML 特性,返回指定的 textarea 元素。 (由 TextAreaExtensions 定义。) | |
TextArea(String, String, Int32, Int32, Object) | 重载。 ModelStateDictionary object.' data-guid="e65d6cb515fa9a8e758acedf0f53a853">通过使用指定的 HTML 帮助器、窗体字段的名称、文本内容、行数和列数以及指定的 HTML 特性,返回指定的 textarea 元素。 (由 TextAreaExtensions 定义。) | |
TextArea(String, String, Int32, Int32, IDictionary<String, Object>) | 重载。 ModelStateDictionary object.' data-guid="e65d6cb515fa9a8e758acedf0f53a853">通过使用指定的 HTML 帮助器、窗体字段的名称、文本内容、行数和列数以及指定的 HTML 特性,返回指定的 textarea 元素。 (由 TextAreaExtensions 定义。) | |
TextBox(String) | 重载。 ModelStateDictionary object.' data-guid="ce007b7b069f1208934936ff7c15f86d">通过使用指定的 HTML 帮助器和窗体字段的名称,返回文本 input 元素。 (由 InputExtensions 定义。) | |
TextBox(String, Object) | 重载。 ModelStateDictionary object.' data-guid="ab361a92f9b56284c0bf3ece34d38475">通过使用指定的 HTML 帮助器、窗体字段的名称和值,返回文本 input 元素。 (由 InputExtensions 定义。) | |
TextBox(String, Object, String) | 重载。 ul element) of validation messages that are in the ModelStateDictionary object.' data-guid="04db93f0f33d877562173210a4dcf511">返回文本 input 元素。 (由 InputExtensions 定义。) | |
TextBox(String, Object, Object) | 重载。 ul element) of validation messages that are in the ModelStateDictionary object and optionally displays only model-level errors.' data-guid="8569ca5b7df8a9f1c699531680c28aca">通过使用指定的 HTML 帮助器、窗体字段的名称、值和 HTML 特性,返回文本 input 元素。 (由 InputExtensions 定义。) | |
TextBox(String, Object, IDictionary<String, Object>) | 重载。 ul element) of validation messages that are in the ModelStateDictionary object.' data-guid="8569ca5b7df8a9f1c699531680c28aca">通过使用指定的 HTML 帮助器、窗体字段的名称、值和 HTML 特性,返回文本 input 元素。 (由 InputExtensions 定义。) | |
TextBox(String, Object, String, Object) | 重载。 ul element) of validation messages that are in the ModelStateDictionary object and optionally displays only model-level errors.' data-guid="04db93f0f33d877562173210a4dcf511">返回文本 input 元素。 (由 InputExtensions 定义。) | |
TextBox(String, Object, String, IDictionary<String, Object>) | 重载。 ul element) of validation messages in the ModelStateDictionary object.' data-guid="04db93f0f33d877562173210a4dcf511">返回文本 input 元素。 (由 InputExtensions 定义。) | |
Validate | ul element) of validation messages that are in the ModelStateDictionary object.' data-guid="506b6322134ac7b16275d4fefd40bf07">检索指定模型的验证元数据,并将每个规则应用于数据字段。 (由 ValidationExtensions 定义。) | |
ValidationMessage(String) | 重载。 ul element) of validation messages that are in the ModelStateDictionary object and optionally displays only model-level errors.' data-guid="0b9e129a141d44cd17b71bd10bcada69">在 ModelStateDictionary 对象中的指定字段出错时显示一条验证消息。 (由 ValidationExtensions 定义。) | |
ValidationMessage(String, Object) | 重载。 ul element) of validation messages that are in the ModelStateDictionary object and optionally displays only model-level errors.' data-guid="0b9e129a141d44cd17b71bd10bcada69">在 ModelStateDictionary 对象中的指定字段出错时显示一条验证消息。 (由 ValidationExtensions 定义。) | |
ValidationMessage(String, String) | 重载。 在 ModelStateDictionary 对象中的指定字段出错时显示一条验证消息。 (由 ValidationExtensions 定义。) | |
ValidationMessage(String, IDictionary<String, Object>) | 重载。 在 ModelStateDictionary 对象中的指定字段出错时显示一条验证消息。 (由 ValidationExtensions 定义。) | |
ValidationMessage(String, String, Object) | 重载。 在 ModelStateDictionary 对象中的指定字段出错时显示一条验证消息。 (由 ValidationExtensions 定义。) | |
ValidationMessage(String, String, IDictionary<String, Object>) | 重载。 在 ModelStateDictionary 对象中的指定字段出错时显示一条验证消息。 (由 ValidationExtensions 定义。) | |
ValidationSummary() | 重载。 返回 ModelStateDictionary 对象中的验证消息的未排序列表(ul 元素)。 (由 ValidationExtensions 定义。) | |
ValidationSummary(Boolean) | 重载。 返回 ModelStateDictionary 对象中验证消息的未排序列表(ul 元素),还可以选择仅显示模型级错误。 (由 ValidationExtensions 定义。) | |
ValidationSummary(String) | 重载。 返回 ModelStateDictionary 对象中的验证消息的未排序列表(ul 元素)。 (由 ValidationExtensions 定义。) | |
ValidationSummary(Boolean, String) | 重载。 返回 ModelStateDictionary 对象中验证消息的未排序列表(ul 元素),还可以选择仅显示模型级错误。 (由 ValidationExtensions 定义。) | |
ValidationSummary(String, Object) | 重载。 返回 ModelStateDictionary 对象中的验证消息的未排序列表(ul 元素)。 (由 ValidationExtensions 定义。) | |
ValidationSummary(String, IDictionary<String, Object>) | 重载。 返回 ModelStateDictionary 对象中的验证消息的未排序列表(ul 元素)。 (由 ValidationExtensions 定义。) | |
ValidationSummary(Boolean, String, Object) | 重载。 HtmlHelper class provides methods that help you create HTML controls programmatically.' data-guid="1849d9ae21f8a1dff1ffc2694319ea3d">返回 ModelStateDictionary 对象中验证消息的未排序列表(ul 元素),还可以选择仅显示模型级错误。 (由 ValidationExtensions 定义。) | |
ValidationSummary(Boolean, String, IDictionary<String, Object>) | 重载。 HtmlHelper methods generate HTML and return the result as a string.' data-guid="1849d9ae21f8a1dff1ffc2694319ea3d">返回 ModelStateDictionary 对象中验证消息的未排序列表(ul 元素),还可以选择仅显示模型级错误。 (由 ValidationExtensions 定义。) | |
Value(String) | 重载。 HtmlHelper class is designed to generate UI.' data-guid="c2104845ddcfa9ff25d2ec52bff737a6">提供一种机制,以创建与 ASP.NET MVC 模型联编程序和模板兼容的自定义 HTML 标记。 (由 ValueExtensions 定义。) | |
Value(String, String) | 重载。 提供一种机制,以创建与 ASP.NET MVC 模型联编程序和模板兼容的自定义 HTML 标记。 (由 ValueExtensions 定义。) | |
ValueForModel() | 重载。 HtmlHelper class are in the System.Web.Mvc.Html namespace.' data-guid="c2104845ddcfa9ff25d2ec52bff737a6">提供一种机制,以创建与 ASP.NET MVC 模型联编程序和模板兼容的自定义 HTML 标记。 (由 ValueExtensions 定义。) | |
ValueForModel(String) | 重载。 提供一种机制,以创建与 ASP.NET MVC 模型联编程序和模板兼容的自定义 HTML 标记。 (由 ValueExtensions 定义 |
posted on 2016-03-16 11:17 forgive-me 阅读(94) 评论(0) 编辑 收藏 举报