What is a multi selection panel and how is it used in GUI design?

  • Thread starter Thread starter MartinJH
  • Start date Start date
  • Tags Tags
    Control
Click For Summary
The discussion centers on developing a user interface in C# that allows users to select items from a list, specifically moving items between two columns. It highlights that there is no built-in control for this functionality in C#, requiring custom coding to implement it. The conversation suggests using a ListView with checkboxes for persistent selections or a multi-selection approach for short-term selections. The term "multi-selection panel" is mentioned, although it lacks formal references. The need for a handcrafted solution using list boxes, buttons, and logic is emphasized, as this type of control is not commonly available in standard GUI libraries.
MartinJH
Messages
72
Reaction score
2
Hi,
I'm developing an application and I allow a user to select 'things' they want enabled and others they do not. I had a solution coded but discovered a new solution. While I can 'hard' code this new solution, featured below, I was wondering if C# (the language I'm using) has the following control available;
(essentially moving one 'thing' from the left hand column to the right with provided buttons)
Capture.png

Indeed, failing that, and the purpose of this question, does this method of allowing a user to select certain 'thing' from a list have a name?
(please ignore the title of the window and other text, this is just an image I found to help explain my question)

Many thanks
 
Technology news on Phys.org
As far as I know, the language used is irrelevant. The controls come from system calls that can be made from any language. There is no control that inherently moves an item from one list box (or text box if that's what you have) to another. You have to code that, but it's awfully simple.

Since you are using the C# language, you must be using C#.NET as your IDE, in which case the selection of an item is called "item select". There are numerous system calls associated with items, such as adding an item, geting the index of a selected item, getting a selected item, setting the selection index in an item list, etc.
 
If you are looking for a more compact design of allowing a user to view and make "persistent" selections in a list, then you may consider using only a single ListView and then associate a checkbox with each item in the list. I believe that should be possible in Windows Forms by using the ListView.CheckBoxes property [1] and in WPF by using a template with a checkbox [2] or similar.

If the selection is very short term (e.g. the selection is cleared each time the user is presented with the dialog) then Forms ListView.MultiSelect [3] or WPF ListView.SelectionMode [4] may be suitable instead, but since multiselection is not indicated the capability may easily remain undiscovered by the user.

[1] https://msdn.microsoft.com/en-us/library/system.windows.forms.listview.checkboxes(v=vs.110).aspx
[2] https://msdn.microsoft.com/en-us/library/ms754143(v=vs.110).aspx
[3] https://msdn.microsoft.com/en-us/library/system.windows.forms.listview.multiselect(v=vs.110).aspx
[4] https://msdn.microsoft.com/en-us/li...controls.listbox.selectionmode(v=vs.110).aspx
 
  • Like
Likes Pepper Mint
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

Replies
7
Views
1K
Replies
11
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K