DefaultHtmlGenerator
DefaultHtmlGenerator(IAntiforgery, IOptions<MvcViewOptions>, IModelMetadataProvider, IUrlHelperFactory, HtmlEncoder, ValidationHtmlAttributeProvider)
AllowRenderingMaxLengthAttribute
IdAttributeDotReplacement
AddMaxLengthAttribute(ViewDataDictionary, TagBuilder, ModelExplorer, String)
AddPlaceholderAttribute(ViewDataDictionary, TagBuilder, ModelExplorer, String)
AddValidationAttributes(ViewContext, TagBuilder, ModelExplorer, String)
Encode(Object)
Encode(String)
FormatValue(Object, String)
GenerateActionLink(ViewContext, String, String, String, String, String, String, Object, Object)
GenerateAntiforgery(ViewContext)
GenerateCheckBox(ViewContext, ModelExplorer, String, Boolean?, Object)
GenerateForm(ViewContext, String, String, Object, String, Object)
GenerateFormCore(ViewContext, String, String, Object)
GenerateGroupsAndOptions(String, IEnumerable<SelectListItem>)
GenerateHidden(ViewContext, ModelExplorer, String, Object, Boolean, Object)
GenerateHiddenForCheckbox(ViewContext, ModelExplorer, String)
GenerateInput(ViewContext, InputType, ModelExplorer, String, Object, Boolean, Boolean, Boolean, Boolean, String, IDictionary<String, Object>)
GenerateLabel(ViewContext, ModelExplorer, String, String, Object)
GenerateLink(String, String, Object)
GeneratePageForm(ViewContext, String, String, Object, String, String, Object)
GeneratePageLink(ViewContext, String, String, String, String, String, String, Object, Object)
GeneratePassword(ViewContext, ModelExplorer, String, Object, Object)
GenerateRadioButton(ViewContext, ModelExplorer, String, Object, Boolean?, Object)
GenerateRouteForm(ViewContext, String, Object, String, Object)
GenerateRouteLink(ViewContext, String, String, String, String, String, Object, Object)
GenerateSelect(ViewContext, ModelExplorer, String, String, IEnumerable<SelectListItem>, Boolean, Object)
GenerateSelect(ViewContext, ModelExplorer, String, String, IEnumerable<SelectListItem>, ICollection<String>, Boolean, Object)
GenerateTextArea(ViewContext, ModelExplorer, String, Int32, Int32, Object)
GenerateTextBox(ViewContext, ModelExplorer, String, Object, String, Object)
GenerateValidationMessage(ViewContext, ModelExplorer, String, String, String, Object)
GenerateValidationSummary(ViewContext, Boolean, String, String, Object)
GetCurrentValues(ViewContext, ModelExplorer, String, Boolean)
net9.0
namespace Microsoft.AspNetCore.Mvc.ViewFeatures
{
public class DefaultHtmlGenerator : IHtmlGenerator
{
protected virtual void AddMaxLengthAttribute(ViewDataDictionary viewData, TagBuilder tagBuilder, ModelExplorer modelExplorer, string expression);
}
}
.NET | 5.06.07.08.09.0 |
---|---|
.NET Core | 2.23.03.1 |
Information specific to net9.0 | |
Assembly | Microsoft.AspNetCore.Mvc.ViewFeatures , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Requires any:
|
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API