Top "Listbox" questions

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

customize the Border property with CornerRadius for ListBox

I want to customize the following Listbox-display property of border with CornerRadius=5..can anyone help me to achieve it without …

wpf xaml listbox border cornerradius
ItemTemplate: ListBox vs ItemsControl

I'm quite new to the WPF world and I'm having some problems with templating items in an ItemsControl. What I …

wpf listbox itemscontrol itemtemplate
WPF ListBox - Getting UIElement instead of of SelectedItem

I created a ListBox that has a DataTemplate as Itemtemplate. However, is there an easy way to access the generated …

wpf listbox datatemplate selecteditem uielement
programmatically select next listbox item

I'm trying to program two buttons to imitate the up/down arrow key behavior, meaning that when I press the …

c# listbox selectedindex
How to bind Custom Object to ListBox in WPF

I am new to WPF so please accept my apologies if my question is stupid. I am creating a food …

c# wpf binding listbox custom-object
Setting focus on a ListBox item breaks keyboard navigation

After selecting ListBox item programmatically it is needed to press down\up key two times to move the selection. Any …

wpf listview select listbox listboxitem
Getting index for multiple selected item in ListBox in c#

I have two ListBoxes. First ListBox items are list of "Products". and second ListBox items are list of "Item in …

c# listbox multiple-select
WPF - Bind to selecteditem of listbox between user controls

I have two usercontrols, the first with a listbox that is bound to a list of Customers that displays some …

wpf data-binding user-controls listbox selecteditem
How to select ListBox item by ValueMember

I have two items with the same DisplayMember, but a different ValueMember and want to select one of the two …

c# winforms listbox valuemember
Change style of last item in ListBox

I have listbox control which has list of colors. Here is code and Image: <ListBox Name="FillSelections" VerticalContentAlignment="Stretch" …

wpf listbox itemtemplate