Back to Devexpress

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

aspnetmvc-devexpress-dot-web-dot-mvc-dot-ui-dot-extensionsfactory-1-dot-binaryimagefor-1-x28-system-dot-linq-dot-expressions-dot-expression-system-dot-func-0-0-system-dot-action-devexpress-dot-web-dot-mvc-dot-binaryimageeditsettings-x29.md

latest2.5 KB
Original Source

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

Creates a BinaryImage.

Namespace : DevExpress.Web.Mvc.UI

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public BinaryImageEditExtension BinaryImageFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression,
    Action<BinaryImageEditSettings> method
)
vb
Public Function BinaryImageFor(Of ValueType)(
    expression As Expression(Of Func(Of ModelType, ValueType)),
    method As Action(Of BinaryImageEditSettings)
) As BinaryImageEditExtension

Parameters

NameTypeDescription
expressionExpression<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

TypeDescription
BinaryImageEditExtension

A BinaryImageEditExtension object implementing the BinaryImage functionality.

|

See Also

ExtensionsFactory<ModelType> Class

ExtensionsFactory<ModelType> Members

DevExpress.Web.Mvc.UI Namespace