A newer version of this page is available. Switch to the current version.

MVCxDateEditProperties.Caption Property

Gets or sets the editor caption.

Namespace: DevExpress.Web.Mvc

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


public string Caption { get; set; }
Public Property Caption As String

Property Value

Type Description

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


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

@Html.DevExpress().DateEdit(settings => {
    settings.Name = "HireDate";
    settings.Properties.Caption = "Hire Date";
See Also