This is a migrated thread and some comments may be shown as answers.

Vertically alligned ListBox with Reordering / Dragdrop

1 Answer 38 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
NRT
Top achievements
Rank 1
NRT asked on 01 Feb 2013, 05:06 AM
Hello , 
Can I get an example where I can reorder/drag drop items WITHIN the SAME listbox which has vertically alligned items.
I want a seperator also to indicate that we can drop the item in that position. 
 Please find the attachment. 

1 Answer, 1 is accepted

Sort by
0
Accepted
George
Telerik team
answered on 05 Feb 2013, 01:57 PM
Hi,

I would suggest using RadListBox control - it has built-in drag and drop functionality. Pease, refer to the following links:

In order to align the items vertically, I would suggest setting an orientation for the ItemsPanel, for example:

...
<telerik:RadListBox.ItemsPanel>
    <ItemsPanelTemplate>
        <StackPanel Orientation="Vertical" />
    </ItemsPanelTemplate>
</telerik:RadListBox.ItemsPanel>
...

Hope this helps.

Kind regards,
George
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ListBox
Asked by
NRT
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or