HtmlHelperExtensions.HasHtmlEditor Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

HasHtmlEditor(HtmlHelper, Object)

Helper method for checking if the specified model object has a property marked with System.ComponentModel.DataAnnotations.DataType.Html.

public static bool HasHtmlEditor(this HtmlHelper html, object model = null)

Parameters

html
System.Web.Mvc.HtmlHelper
model
System.Object

Returns

System.Boolean