Skip to main content

MVCxBinaryImageEditProperties.Caption Property

Gets or sets the BinaryImage caption.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string Caption { get; set; }

Property Value

Type Description
String

A String value that specifies the text content of the BinaryImage caption.

Remarks

The code sample below demonstrates how to define a caption for the BinaryImage extension.

@Html.DevExpress().BinaryImage(settings => {
    settings.Name = "Photo";
    settings.Properties.Caption = "Photo";
}).Bind(Model.Photo).GetHtml()
See Also