Skip to main content

ExtensionsFactory<ModelType>.BinaryImageFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<BinaryImageEditSettings>) Method

Creates a BinaryImage.

Namespace: DevExpress.Web.Mvc.UI

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public BinaryImageEditExtension BinaryImageFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression,
    Action<BinaryImageEditSettings> method
)

Parameters

Name Type Description
expression Expression<Func<ModelType, ValueType>>

An expression that identifies the object that contains the properties to display.

method Action<BinaryImageEditSettings>

A delegate method that accepts BinaryImageEditSettings as a parameter.

Type Parameters

Name
ValueType

Returns

Type Description
BinaryImageEditExtension

A BinaryImageEditExtension object implementing the BinaryImage functionality.

See Also