checkedlistbox Questions

2

Solved

I've never dealt with checkedListBox1 until now. A program that I want to make will benefit from using it rather than having to use numerous Checkboxes. I have the code: private void checkedListB...
Marigraph asked 25/10, 2012 at 14:24

2

I would like to override the text displayed when an item is added to a checked list box. Right now it is using obj.ToString(), but I want to append some text, without changing the objects ToString ...
Volumetric asked 10/9, 2013 at 17:15

1

Solved

Requirement I want to select values from an enum in C# using a ComboBox or select bitmasks (for enums with the Flags attribute) with a CheckedListBox. I want a way to add the values to the control...
Antigua asked 9/9, 2014 at 19:4

1

Solved

I'm adding items from a List to a CheckedListBox. I want that box to display the friendly name of the item to the user but have a "secret" actual value to use when the user selects it. foreach (st...
Munitions asked 13/3, 2014 at 2:40

3

Solved

I try to display the number of checked items in the checkedListBox: checkedListBox1.CheckedIndices.Count But how can i update my count, if i want to display it on label? I tried to write all in the...
Moonstone asked 9/3, 2013 at 11:35

2

Solved

i'm trying to check each item in a checkedlistbox and do something with the item depending if it is checked or not. I've been able to just get the checked items with the indexCollection, but i'm ha...
Valvate asked 14/2, 2013 at 10:22

2

I just wanted the CheckListBox I used to use with Windows Forms. <ListBox> <ListBox.ItemTemplate> <DataTemplate> <CheckBox Content="{Binding Name}"/> </DataTemplate...
Some asked 5/5, 2011 at 17:16

2

Solved

I have a CheckedListBox like this: :'''''''''''''''/\ : [ ] item1 || : [x] item2 || : [ ] item3 ## : [ ] item4 || : [x] item5 || L...............\/ Now I want to extract indexes of checked items...
Amphi asked 27/9, 2012 at 12:49

2

Solved

I want to populate a CheckedListBox based on the items passed into a form's constructor (in this case, a List<int>). My skeleton code for this is: foreach (int platypus in listPlatypi) { user...
Bontebok asked 19/7, 2012 at 15:55

2

I need to loop through a checked listbox, and for each of the items in it, I need to check them (basically like a "select all" function). Is there a basic example you could give me to help me out ...
Ricard asked 3/4, 2012 at 19:20

2

Solved

How can I create an array containing the checked items in a checkedlistbox using foreach loop (or any other way)? I can't know the number of items in the list.
Synod asked 2/8, 2010 at 17:15

1

Solved

I have a listbox in which the item source contains a List(of T) that has a SelectedFlag boolean property. My viewmodel is set as the DataContext of my user control and everything is working as expe...
Kidnap asked 18/4, 2011 at 17:46

1

Solved

The WinForms CheckedListBox control has 2 default behaviors when clicking with a mouse: In order to check/uncheck an item you're required to click an item twice. The first click selects the item,...
Sack asked 3/11, 2010 at 2:7

2

Solved

I have a CheckedListBox. I would like to be able to select items when I click on the text but check/uncheck them when I click on the checkbox area on the left. If I set CheckOnClick then the items ...
Coadjutress asked 9/12, 2009 at 23:53

3

Solved

I have a CheckListBox on my form but I want to make the scrollbar wider as users are using touch screens not a mouse. How can I change the scroll bar width? EDIT: I am talking about the width of ...
Spiculum asked 30/11, 2009 at 12:14

2

Solved

Is there a CheckedListBox control with icons support for Windows Forms? Thanks.
Riff asked 6/8, 2009 at 11:43

© 2022 - 2024 — McMap. All rights reserved.