MvcViewOptions Class¶
Provides programmatic configuration for views in the MVC framework.
- Namespace
Microsoft.AspNetCore.Mvc- Assemblies
- Microsoft.AspNetCore.Mvc.ViewFeatures
Properties¶
-
Microsoft.AspNetCore.Mvc.MvcViewOptions.ClientModelValidatorProviders¶ Gets a list of
Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProviderinstances.Return type: System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidatorProvider> public IList<IClientModelValidatorProvider> ClientModelValidatorProviders { get; }
-
Microsoft.AspNetCore.Mvc.MvcViewOptions.HtmlHelperOptions¶ Gets or sets programmatic configuration for the HTML helpers and
Microsoft.AspNetCore.Mvc.Rendering.ViewContext.Return type: Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelperOptions public HtmlHelperOptions HtmlHelperOptions { get; set; }
-
Microsoft.AspNetCore.Mvc.MvcViewOptions.ViewEngines¶ Gets a list
Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngines used by this application.Return type: System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine> public IList<IViewEngine> ViewEngines { get; }
-