WPF › WPF Control Resources › ExtendedSelectionAwareListBoxItem
ExtendedSelectionAwareListBoxItem
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Internal.Controls.ExtendedControls
A list box item that ignores the pointer entering it and releases the parent selector's mouse capture when it is clicked, which is what lets an item hosted in a drop-down be clicked through without the list swallowing the click.
public class ExtendedSelectionAwareListBoxItem : ListBoxItem
Inherits from / implements: ListBoxItem
Members at a glance
OnMouseEnter | Raises the MouseEnter event. ExtendedSelectionAwareListBoxItem overrides it so the control's own handling runs alongside the base behavior. |
OnMouseLeftButtonDown | Raises the MouseLeftButtonDown event. ExtendedSelectionAwareListBoxItem overrides it so the control's own handling runs alongside the base behavior. |
Methods
OnMouseEnter
protected override void OnMouseEnter(MouseEventArgs e)
Raises the MouseEnter event. ExtendedSelectionAwareListBoxItem overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseLeftButtonDown
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Raises the MouseLeftButtonDown event. ExtendedSelectionAwareListBoxItem overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.