The best way to choose from a list is not two lists that age a little?

How many times have we seen this type of selector:

List list selector http://geekswithblogs.net/images/geekswithblogs_net/dotNETvinz/MoveItemsListBox.jpg

I was just about to start creating this in a WinForms application when I thought that others might have some ideas for this. We need to sort - so for the right list you need the up / down buttons. But it seems such an old school. I love the devexpress components and thought about asking them if they would think about adding a component that handles this functionality through a smooth interface.

I think that the graphical representation of objects and the graphical representation of lists are a more intuitive way to move elements around.

Has anyone seen an open source project like this?

+3
source share
4 answers

If the CheckListBox is not sufficient (and it will usually be), then the "modern" approach will be to use a ListView or similar component with the "Transfer" column. Check the inline button in this column, one for each row, so it only takes one click to move an item from one to another.

You see this everywhere in Vista, usually with hyperlinks, not buttons. Instead of clicking on an item and then selecting an action, you click the action at the item level.

, , - , , .

, , .

+3

, ( ) CheckListBox, . , (), (), .

, , , , .

+1

/ 2, 2. ( 2 , 1, .)

+1

( LVGF_GROUPID): .

. , , / .

In addition, at the bottom of each group there can be one pseudo-element with help text (ie "Drag and Drop Elements Here ..."), which is displayed only if necessary.

+1
source

Source: https://habr.com/ru/post/1726393/


All Articles