HtmlHelperSelectExtensions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
和 IHtmlHelperIHtmlHelper<TModel>的选择相关扩展。
public ref class HtmlHelperSelectExtensions abstract sealed
public static class HtmlHelperSelectExtensions
type HtmlHelperSelectExtensions = class
Public Module HtmlHelperSelectExtensions
- 继承
-
HtmlHelperSelectExtensions
方法
DropDownList(IHtmlHelper, String) |
返回 的单 |
DropDownList(IHtmlHelper, String, IEnumerable<SelectListItem>) |
返回 的单 |
DropDownList(IHtmlHelper, String, IEnumerable<SelectListItem>, Object) |
返回 的单 |
DropDownList(IHtmlHelper, String, IEnumerable<SelectListItem>, String) |
返回 的单 |
DropDownList(IHtmlHelper, String, String) |
返回 的单 |
DropDownListFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, IEnumerable<SelectListItem>) |
返回 的单 |
DropDownListFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, IEnumerable<SelectListItem>, Object) |
返回 的单 |
DropDownListFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, IEnumerable<SelectListItem>, String) |
返回 的单 |
ListBox(IHtmlHelper, String) |
返回 的多 |
ListBox(IHtmlHelper, String, IEnumerable<SelectListItem>) |
返回 的多 |
ListBoxFor<TModel,TResult>(IHtmlHelper<TModel>, Expression<Func<TModel,TResult>>, IEnumerable<SelectListItem>) |
返回 的多 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈