ListBoxDrawItemEventArgs.Item Property
Gets the value of the processed item.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
Object | An object representing the value of the processed item. |
Remarks
When the control is bound to data, the item’s value can differ from its display text. The control’s BaseListBoxControl.DisplayMember and BaseListBoxControl.ValueMember properties specify the data source fields whose contents represent items’ display text and values respectively. The Item property represents the content of a field assigned to the BaseListBoxControl.ValueMember property.
Otherwise, if no data source is associated with the control, the Item property is merely an object whose string representation is displayed within the item.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Item 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.