Skip to main content
Tab

ASPxTrackBar.Value Property

Gets or sets the editor’s value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public override object Value { get; set; }

Property Value

Type Description
Object

A Object value that is the editor’s value.

Remarks

Use the Value property to get or set the editor’s value. If a specified value exceeds the scale limits specified by the ASPxTrackBar.MinValue and ASPxTrackBar.MaxValue properties, or a value is incorrect, the Value property is automatically set to the ASPxTrackBar.MinValue property value.

If the range value selection is used, the Value property is equal to the ASPxTrackBar.PositionStart.

If the Value property returns null, make sure that you set the ValueType property to an .NET type that matches the ValueField column type. Otherwise, the editor cannot find the corresponding item because the editor’s ValueType property does not match the item type (String by default).

See Also