DefaultHtmlGenerator Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Default implementation of IHtmlGenerator.
public ref class DefaultHtmlGenerator : Microsoft::AspNetCore::Mvc::ViewFeatures::IHtmlGeneratorpublic class DefaultHtmlGenerator : Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGeneratortype DefaultHtmlGenerator = class
    interface IHtmlGeneratorPublic Class DefaultHtmlGenerator
Implements IHtmlGenerator- Inheritance
- 
				DefaultHtmlGenerator
- Implements
Constructors
| DefaultHtmlGenerator(IAntiforgery, IOptions<MvcViewOptions>, IModelMetadataProvider, IUrlHelperFactory, HtmlEncoder, ClientValidatorCache, ValidationHtmlAttributeProvider) | Initializes a new instance of the DefaultHtmlGenerator class. | 
| DefaultHtmlGenerator(IAntiforgery, IOptions<MvcViewOptions>, IModelMetadataProvider, IUrlHelperFactory, HtmlEncoder, ClientValidatorCache) | 
				Obsolete.
			 Initializes a new instance of the DefaultHtmlGenerator class. This constructor is obsolete and will be removed in a future version. The recommended alternative is to use DefaultHtmlGenerator(IAntiforgery, IOptions<MvcViewOptions>, IModelMetadataProvider, IUrlHelperFactory, HtmlEncoder, ClientValidatorCache, ValidationHtmlAttributeProvider). | 
| DefaultHtmlGenerator(IAntiforgery, IOptions<MvcViewOptions>, IModelMetadataProvider, IUrlHelperFactory, HtmlEncoder, ValidationHtmlAttributeProvider) | Initializes a new instance of the DefaultHtmlGenerator class. | 
Properties
| AllowRenderingMaxLengthAttribute | Gets or sets a value that indicates whether the  | 
| IdAttributeDotReplacement | Gets the replacement for '.' in an Id attribute. | 
Methods
Extension Methods
| GenerateForm(IHtmlGenerator, ViewContext, String, String, String, Object, String, Object) | Generates a form. | 
| GenerateRouteForm(IHtmlGenerator, ViewContext, String, Object, String, String, Object) | Generates a form for a route. |