A newer version of this page is available. Switch to the current version.

ColorEditExtension(ColorEditSettings, ViewContext, ModelMetadata) Constructor

Initializes a new instance of the ColorEditExtension class with the specified settings, the context information about the view, and the model metadata.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll


public ColorEditExtension(
    ColorEditSettings settings,
    ViewContext viewContext,
    ModelMetadata metadata
Public Sub New(
    settings As ColorEditSettings,
    viewContext As ViewContext,
    metadata As ModelMetadata


Name Type Description
settings ColorEditSettings

An object containing extension specific settings.

viewContext ViewContext

A ViewContext object that is the view context.

metadata ModelMetadata

The System.Web.Mvc.ModelMetadata object that is the model metadata.

See Also