Table of Contents

Class ListBoxItem

Namespace
nanoFramework.Presentation.Controls
Assembly
nanoFramework.Graphics.dll

Represents an item in a ListBox control.

public class ListBoxItem : ContentControl
Inheritance
ListBoxItem
Inherited Members
Extension Methods

Constructors

ListBoxItem()

public ListBoxItem()

Properties

IsSelectable

Gets or sets a value indicating whether this item can be selected by the user.

public bool IsSelectable { get; set; }

Property Value

bool

IsSelected

Gets a value indicating whether this item is currently selected in the parent ListBox control.

public bool IsSelected { get; }

Property Value

bool

Methods

OnIsSelectedChanged(bool)

Called when the IsSelected property of this item changes.

protected virtual void OnIsSelectedChanged(bool isSelected)

Parameters

isSelected bool

The new value of the IsSelected property.