Combobox Drag and Drop

2 posts, 0 answers
  1. Vijay
    Vijay avatar
    22 posts
    Member since:
    Dec 2010

    Posted 11 Jul 2011 Link to this post

    Hi

    Can we drag item from combobox?

    Thanks
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 14 Jul 2011 Link to this post

    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!

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top