List​Box​Item List​Box​Item List​Box​Item Class


Represents the container for an item in a ListBox control.

public : class ListBoxItem : SelectorItem, IListBoxItempublic class ListBoxItem : SelectorItem, IListBoxItemPublic Class ListBoxItem Inherits SelectorItem Implements IListBoxItem
<ListBoxItem .../>
<ListBoxItem ...>
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited events

Inherited methods


The ListBoxItem class provides the container for items displayed in a ListBox control. You populate the ListBox by adding ListBoxItem s directly to its Items collection or by binding its ItemsSource property to a data source. When items are added to the ListBox, a ListBoxItem container is created automatically for each item in the collection.

You can specify the look of the ListBoxItem by setting the ListBox 's ItemContainerStyle property to a Style with a TargetType of ListBoxItem.


ListBoxItem() ListBoxItem() ListBoxItem()

Initializes a new instance of the ListBoxItem class.

public : ListBoxItem()public ListBoxItem()Public Sub New()

See Also