Top "Listbox" questions

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

Change selected and unfocused Listbox style to not be grayed out

I have a really simple WPF ListBox with SelectionMode set to Multiple. <ListBox SelectionMode="Multiple" /> When the ListBox …

.net wpf listbox
How does ItemContainerGenerator.ContainerFromItem work with a grouped list?

I have a ListBox which until recently was displaying a flat list of items. I was able to use myList.…

.net wpf listbox
disable mouse wheel on itemscontrol in wpf

I have a usercontrol that has a scrollviewer, then a bunch of child controls like text boxes, radio buttons, and …

c# .net wpf listbox mousewheel
Gaps between items in my ListBox

When I create ListBox with horizontal items ordering for example like this: <DockPanel> <ListBox> <ListBox.…

.net wpf listview listbox wpf-controls
VBA: Userform initialize method not being hit when userform initializes

My module code calling the userform: PreInfo.Show My userform code: Public Sub PreInfo_Initialize() Dim Invoice, Name, Model, Crank, …

vba module listbox initialization userform
Find control inside Listbox.ItemTemplate (WPF C#)

I have some problems finding the right TextBlock control inside a StackPanel. My markup: <ListBox Name="lstTimeline" ItemContainerStyle="{StaticResource …

c# wpf listbox mouseevent selecteditem
Populate list box with a named range

I'm working on my first ever VBA project, and need a bit of absolute newbie guidance. I have a submission …

vba excel listbox named-ranges
Binding observable collection to ListBox in XAML

I've spent lots of hours with this problem. I have a class with data: public class User : INotifyPropertyChanged { private int _…

c# xaml binding listbox observablecollection
ListBox with Grid as ItemsPanelTemplate produces weird binding errors

I've got a ListBox control and I'm presenting a fixed number of ListBoxItem objects in a grid layout. So I've …

.net wpf data-binding listbox itemspaneltemplate
Enabling a button in WPF depending on ListBox.SelectedIndex

I have a rather classic UI situation - two ListBoxes named SelectedItems and AvailableItems - the idea being that the …

wpf listbox