MVCxImageEditProperties.Caption Property
Gets or sets the image caption.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
String | A String value that specifies the text content of the image caption. |
Remarks
The code sample below demonstrates how to define a caption for the Image extension.
@Html.DevExpress().Image(settings => {
settings.Name = "image";
settings.Properties.Caption = "Image";
}).Bind(Model.ImageUrl).GetHtml()
See Also