WPF › WPF Control Resources › ExtendedSelectionAwareListBox
ExtendedSelectionAwareListBox
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Internal.Controls.ExtendedControls
A list box whose item containers are selection aware, so an item can react to being selected without the list box driving it.
public class ExtendedSelectionAwareListBox : ListBox
Inherits from / implements: ListBox
Members at a glance
GetContainerForItemOverride | Creates the container that one item is shown in, which for this control is a ExtendedSelectionAwareListBoxItem. |
IsItemItsOwnContainerOverride | Reports whether an item can be shown as it stands, without being wrapped in a container of its own. |
Methods
GetContainerForItemOverride
protected override DependencyObject GetContainerForItemOverride()
Creates the container that one item is shown in, which for this control is a ExtendedSelectionAwareListBoxItem.
IsItemItsOwnContainerOverride
protected override bool IsItemItsOwnContainerOverride(object item)
Reports whether an item can be shown as it stands, without being wrapped in a container of its own.