Méthode | Description | |
---|---|---|
GenerateGroupsAndOptions ( string optionLabel, IEnumerable |
||
GenerateOption ( SelectListItem item ) : IHtmlContent | ||
GenerateOption ( SelectListItem item, string text ) : TagBuilder | Not used directly in HtmlHelper. Exposed for use in DefaultDisplayTemplates. |
public static GenerateGroupsAndOptions ( string optionLabel, IEnumerable |
||
optionLabel | string | |
selectList | IEnumerable |
|
Résultat | IHtmlContent |
public static GenerateOption ( SelectListItem item ) : IHtmlContent | ||
item | SelectListItem | |
Résultat | IHtmlContent |
public static GenerateOption ( SelectListItem item, string text ) : TagBuilder | ||
item | SelectListItem | |
text | string | |
Résultat | TagBuilder |