MVCxTrackBarProperties.Caption Property
In This Article
Gets or sets the TrackBar caption.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
#Property Value
Type | Description |
---|---|
String | A String value that specifies the text content of the Track |
#Remarks
The code sample below demonstrates how to define a caption for the TrackBar editor.
@Html.DevExpress().TrackBar(settings => {
settings.Name = "Range";
settings.Properties.Caption = "Select Range";
// ...
}).Bind(Model.Range).BindList(ViewBag.Items).GetHtml()
See Also