MVCxListBoxProperties.Caption Property

Gets or sets the ListBox caption.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.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 ListBox caption.


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

@Html.DevExpress().ListBox(settings => {
    settings.Name = "Module";
    settings.Properties.Caption = "Select Module";
    // ...
See Also