Back to Devexpress

ASPxCheckBoxList.Value Property

aspnet-devexpress-dot-web-dot-aspxcheckboxlist.md

latest1.8 KB
Original Source

ASPxCheckBoxList.Value Property

Gets or sets the editor’s value.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public override object Value { get; set; }
vb
Public Overrides Property Value As Object

Property Value

TypeDescription
Object

An Object value specifying the editor’s value.

|

Remarks

The Value property specifies a value of a selected item (if only one item is selected) or a value of the first selected item (if some items are selected).

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

SelectAll()

UnselectAll()

Check Box List

ASPxCheckBoxList Class

ASPxCheckBoxList Members

DevExpress.Web Namespace