Top "Listbox" questions

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

How to control the scroll position of a ListBox in a MVVM WPF app

I have got a big ListBox with vertical scrolling enabled, my MVVM has New and Edit ICommands. I am adding …

c# wpf mvvm listbox scrollviewer
UserControl as DataTemplate inside ListBox

I want to reuse my UserControls in other UserControls like page or window as DataTemplates, in this example inside a …

binding mvvm user-controls listbox datacontext
WPF - Very basic ListBox.ItemTemplate Question

Ok, this is an embarassingly simple-looking problem, but is driving me crazy. I'm learning about DataTemplating and am trying to …

wpf listbox datatemplate itemtemplate
ScrollViewer's Viewport Height VS Actual Height

Both are quite general terms but I'm curious to know when these height will be different apart from the case …

wpf listbox virtualization scrollviewer actualheight
Is there a way to right-align a numeric column in a ListBox

We have a standard Access listbox with multiple columns. Is there a way to have integer or currency columns right …

ms-access listbox text-alignment
ListBoxItem produces "System.Windows.Data Error: 4" binding error

I have created the fallowing ListBox: <ListBox x:Name="RecentItemsListBox" Grid.Row="1" BorderThickness="0" Margin="2,0,0,0" SelectionChanged="RecentItemsListBox_SelectionChanged"> <…

.net wpf xaml listbox listboxitem
WPF ListBoxItem selection problem

I have a listbox where the items contain checkboxes: <ListBox Style="{StaticResource CheckBoxListStyle}" Name="EditListBox"> <ListBox.ItemTemplate&…

wpf listbox
WPF ListBox with a ListBox - UI Virtualization and Scrolling

My prototype displays "documents" that contain "pages" that are represented by thumbnail images. Each document can have any number of …

wpf user-interface listbox scroll virtualization
ListBox, VirtualizingStackPanel, and Smooth Scrolling in WPF

I have a ListBox that may have many rows of templated DB records, including an Image, bound to an ObservableCollection&…

wpf performance listbox scroll virtualizingstackpanel
How do I validate that a list box is not empty (client side)

I'm working with ASP.NET 3.5. I have a list box that users must add items to (I've written the code …

asp.net validation listbox customvalidator