Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ListBoxDrawItemEventArgs.Item Property

Gets the value of the processed item.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public object Item { get; }

#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.

See Also