Version

ColorPicker(ColorPickerModel,IDictionary<String,Object>) Method

Accepts a model class and HTML attributes and returns a string that will be rendered in the view.
Syntax
'Declaration
 
Public Overloads Function ColorPicker( _
   ByVal colorPickerModel As ColorPickerModel, _
   ByVal htmlAttributes As System.Collections.Generic.IDictionary(Of String,Object) _
) As System.Web.Mvc.MvcHtmlString
public System.Web.Mvc.MvcHtmlString ColorPicker( 
   ColorPickerModel colorPickerModel,
   System.Collections.Generic.IDictionary<string,object> htmlAttributes
)

Parameters

colorPickerModel
htmlAttributes
Remarks
No further method calls are required to render the control, because the return type is MvcHtmlString, which is a rendered HTML string.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub