A graphical user interface element that allows the user to select one or more items from a list.
I have a class: public class A : INotifyPropertyChanged { public List<B> bList { get; set; } public void AddB(B …
c# wpf binding listbox observablecollectionI have a listbox where the itemtemplate is using a style. The styles specifies a border with a datatrigger setting …
wpf listbox visibilityhere is what I would like to do. I get a List of objects from a database and bind this …
c# wpf data-binding listbox listboxitemIs there a way in XAML to determine if the ListBox has data? I wanna set its IsVisibile property to …
wpf xaml listboxI need to set the ItemsPanelTemplate property of a ListBox based on a DependencyProperty on the control. How do I …
wpf listbox itemspaneltemplateUsing WPF, I have a ListBox control with a DataTemplate inside it. The relevant XAML code is shown below: <…
c# wpf xaml listbox datatemplateI have a ListBox with an ItemTemplate consisting of a TextBlock and a ComboBox. The problem is that the width …
wpf listbox width itemtemplateIm trying to define a dataTemplate for a business object in my wpf application a collection of which is being …
wpf listbox borderI am creating a WPF app with a list box that I am binding to project names. As a decorative …
wpf image listbox wpf-controls itemtemplateI have a ListBox. It has internal ScrollViewer, so I can scroll ListBox content with mouse wheel. It works fine …
wpf xaml listbox scrollviewer