About 17,900,000 results
Open links in new tab
  1. How can I add an item to a ListBox in C# and WinForms?

    list.DisplayMember = "clan"; list.ValueMember = sifOsoba; How can I add ValueMember to the list with an int value and some text for the DisplayMember?

  2. Binding Listbox to List<object> in WinForms - Stack Overflow

    Dec 11, 2020 · What's the simplest way to bind a Listbox to a List of objects in Windows Forms?

  3. 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, …

  4. What is The difference between ListBox and ListView

    Jan 16, 2011 · Listview derives from listbox control. One most important difference is listview uses the extended selection mode by default . listview also adds a property called view which enables you to …

  5. How can I data bind a list of strings to a ListBox in WPF/WP7?

    Feb 22, 2012 · I am trying to bind a list of string values to a listbox so that their values are listed line by line. Right now I use this: &lt;ListBox Margin="20" ItemsSource="{Binding Path=PersonNames}"&gt; ...

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

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

  7. 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 - <...

  8. How can I get a vertical scrollbar in my ListBox? - Stack Overflow

    Jan 23, 2009 · In the example below I have a ListBox with dozens of font names in it. I would have thought it would automatically have a vertical scrollbar on it so that you can select ANY font, not just …

  9. How to get selected value in multicolumn listbox - Stack Overflow

    Aug 31, 2016 · 8 I have a multicolumn listbox in my userform and I would like to get all the values of the elements which are in the selected row in the listbox. Here is my userform: Just like in the photo, I …

  10. c# - Sorting a list of items in a list box - Stack Overflow

    I want to get an bunch of items from a list box, add them to an array, sort it, then put it back into a different listbox. Here is what I have came up with: ArrayList q = new ArrayList();