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

Combobox Drag and Drop

1 Answer 112 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Vijay
Top achievements
Rank 1
Vijay asked on 11 Jul 2011, 02:08 PM
Hi

Can we drag item from combobox?

Thanks

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 14 Jul 2011, 12:41 PM
Hello Vijay,

I would suggest to use RadDragDropManager in order to drag items from RadComboBox, just create an ItemTemplate and set AllowDrop property to "true":

<telerik:RadComboBox x:Name="radComboBox" >
    <telerik:RadComboBox.ItemTemplate>
        <DataTemplate>
            <Grid telerik:RadDragAndDropManager.AllowDrag="True">
                <TextBlock Text="{Binding Name}"  />
            </Grid>
        </DataTemplate>
    </telerik:RadComboBox.ItemTemplate>
</telerik:RadComboBox>

More information about RadDragDropManager can be found here.

Kind regards,
Yana
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
ComboBox
Asked by
Vijay
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or