About 51 results
Open links in new tab
  1. Binding Listbox to List<object> in WinForms - Stack Overflow

    Apr 20, 2010 · What's the simplest way to bind a Listbox to a List of objects in Windows Forms?

  2. How to create a listbox in HTML without allowing multiple selection ...

    I don't have much experience in HTML. I am looking to create a simple listbox, but one of the requirements is to DISALLOW multiple selection. Most of the code for listboxes goes like this - <...

  3. C#: easiest way to populate a ListBox from a List

    C#: easiest way to populate a ListBox from a List Asked 15 years, 4 months ago Modified 7 years, 3 months ago Viewed 163k times

  4. How can I add an item to a ListBox in C# and WinForms?

    The Method ListBox.Items.Add () takes an Object ListBoxItem seems only to exist as a wpf control Since the question was about winforms () i assume that your method above is valid only for a wpf ListBox.

  5. How to add headers to a multicolumn listbox in an Excel userform …

    20 Is it possible to set up the headers in a multicolumn listbox without using a worksheet range as the source? The following uses an array of variants which is assigned to the list property of the listbox, …

  6. c# - How to select item in ListBox - Stack Overflow

    Feb 16, 2017 · listBox.SelectedIndex = 5; listBox.UpdateLayout(); listBox.Focus(); Apparently, I was missing the last method, which sets the highlight to the selected item, which was updating fine even …

  7. Getting a callback when a Tkinter Listbox selection is changed?

    Jul 2, 2011 · There are a number of ways of getting callbacks when Text or Entry widgets are changed in Tkinter, but I haven't found one for Listbox's (it doesn't help that much of the event documentation I …

  8. Change background color for selected ListBox item

    ListBox.ItemTemplate specifies how the content of an item should be displayed. But WPF still wraps each item in a ListBoxItem control, which by default gets its Background set to the system highlight …

  9. What is The difference between ListBox and ListView

    Jan 16, 2011 · A ListView is basically like a ListBox (and inherits from it), but it also has a View property. This property allows you to specify a predefined way of displaying the items. The only predefined …

  10. Get the value for a listbox item by index - Stack Overflow

    Jun 28, 2011 · Each Item has a text description (Which appears in the listBox) and its value (numerical). I want to be able to get the value property of an item, using the index number of the item.