MvcViewOptions Class

Summary

Provides programmatic configuration for views in the MVC framework.

Syntax

public class MvcViewOptions

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.MvcViewOptions

Properties

ClientModelValidatorProviders()

Gets a list of [Microsoft.AspNet.Mvc.ModelBinding.Validation.IClientModelValidatorProvider]() instances.

Return type:System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ModelBinding.Validation.IClientModelValidatorProvider}
public IList<IClientModelValidatorProvider> ClientModelValidatorProviders { get; }
HtmlHelperOptions()

Gets or sets programmatic configuration for the HTML helpers and [Microsoft.AspNet.Mvc.ViewContext](Microsoft.AspNet.Mvc.ViewContext.yml).

Return type:Microsoft.AspNet.Mvc.Rendering.HtmlHelperOptions
public HtmlHelperOptions HtmlHelperOptions { get; set; }
ViewEngines()

Gets a list of descriptors that represent [Microsoft.AspNet.Mvc.Rendering.IViewEngine](Microsoft.AspNet.Mvc.Rendering.IViewEngine.yml) used by this application.

Return type:System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ViewEngineDescriptor}
public IList<ViewEngineDescriptor> ViewEngines { get; }