Skip to main content
A newer version of this page is available. .

MVCxCalendarProperties.Caption Property

Gets or sets the Calendar caption.

Namespace: DevExpress.Web.Mvc

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

Declaration

public string Caption { get; set; }

Property Value

Type Description
String

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

Remarks

The code sample below demonstrates how to define a caption for the Calendar editor.


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