Skip to main content
A newer version of this page is available. .

ListBoxItem.Value Property

Gets or sets the item’s value.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(null)]
[DXCategory("Data")]
public virtual object Value { get; set; }

Property Value

Type Default Description
Object *null*

An object representing the item’s value.

Remarks

By default, the item’s display text is specified by the ToString method called for the Value object. In a CheckedListBoxControl and ImageListBoxControl, a list item’s display text can be specified via the CheckedListBoxItem.Description and ImageListBoxItem.Description properties, respectively.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Value property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also