Top "Listbox" questions

A graphical user interface element that allows the user to select one or more items from a list.

How to change ListBox selection background color?

It seems to use default color from Windows settings which is blue by default. Let's say I want to change …

c# winforms listbox background selection
How can I have a ListBox auto-scroll when a new item is added?

I have a WPF ListBox that is set to scroll horizontally. The ItemsSource is bound to an ObservableCollection in my …

wpf listbox scroll
make Listbox items in WPF not selectable

I have a listbox in WPF, and when they select an item, it shows an ugly colors Can I make …

wpf listbox
How can I programmatically select an item in a listbox?

I have a listbox displaying items from an enum. I want to select/highlight the current value (read from a …

c# listbox compact-framework listboxitem .net-1.1
WPF Binding a ListBox to an enum, displaying the Description Attribute

Is it possible to use the ObjectDataProvider method to bind a ListBox to an enum, and style it somehow to …

c# wpf data-binding enums listbox
How can I set different Tooltip text for each item in a listbox?

I have a listbox that is databound to a Collection of objects. The listbox is configured to display an identifier …

c# .net winforms winapi listbox
How to support ListBox SelectedItems binding with MVVM in a navigable application

I am making a WPF application that is navigable via custom "Next" and "Back" buttons and commands (i.e. not …

c# wpf mvvm listbox
How to Implement a ListBox of Checkboxes in WPF?

Although somewhat experienced with writing Winforms applications, the... "vagueness" of WPF still eludes me in terms of best practices and …

wpf listbox checkbox
How to disable highlighting on listbox but keep selection?

I am having trouble finding how to not allow my ListBox to highlight the item selected. I know that I …

wpf xaml listbox
WPF Stretch ListBox Height 100% of Grid.Row?

I'm attempting to stretch the height of a ListBox 100% of the height of the parent grid (i.e. 90% of the …

wpf xaml listbox height expression-blend