Top "Listbox" questions

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

WPF: Binding List to ListBox

I have a class: public class A : INotifyPropertyChanged { public List<B> bList { get; set; } public void AddB(B …

c# wpf binding listbox observablecollection
WPF - hiding listbox items

I have a listbox where the itemtemplate is using a style. The styles specifies a border with a datatrigger setting …

wpf listbox visibility
WPF - How do I get an object that is bound to a ListBoxItem back

here is what I would like to do. I get a List of objects from a database and bind this …

c# wpf data-binding listbox listboxitem
Xamly determine if a ListBox.Items.Count > 0

Is there a way in XAML to determine if the ListBox has data? I wanna set its IsVisibile property to …

wpf xaml listbox
Wpf How to change List box ItemspanelTemplate using Trigger

I need to set the ItemsPanelTemplate property of a ListBox based on a DependencyProperty on the control. How do I …

wpf listbox itemspaneltemplate
Inline editing TextBlock in a ListBox with Data Template (WPF)

Using WPF, I have a ListBox control with a DataTemplate inside it. The relevant XAML code is shown below: <…

c# wpf xaml listbox datatemplate
How can I make a column in a listbox in WPF the same width for all items?

I have a ListBox with an ItemTemplate consisting of a TextBlock and a ComboBox. The problem is that the width …

wpf listbox width itemtemplate
wpf border control to span the width of listboxItem

Im trying to define a dataTemplate for a business object in my wpf application a collection of which is being …

wpf listbox border
WPF: Adding an image to a ListBox ItemTemplate

I am creating a WPF app with a list box that I am binding to project names. As a decorative …

wpf image listbox wpf-controls itemtemplate
How to disable ScrollViewer in ListBox?

I have a ListBox. It has internal ScrollViewer, so I can scroll ListBox content with mouse wheel. It works fine …

wpf xaml listbox scrollviewer