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

AutoScroll while dragging items into RadTreeListView

1 Answer 84 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Guillou
Top achievements
Rank 1
Guillou asked on 28 Aug 2013, 08:09 AM
Hi there !

I've downloaded the latest WPF telerik components (Q2 2013).

I'm trying to implement drag &drop between one RadGridView and one RadTreeListView with autoscroll while dragging to the drop target (RadTreeListView) but have no success.

I only find exemples with RadTreeView using RadDragAndDropManager wich seems to be obsolete....

So my questions are :
Is this possible ? natively ? could you provide a sample project ?

thanks.

Regards

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 02 Sep 2013, 07:24 AM
Hello Guillou,

This is available out of the box. You can see how this is done for the GridView here. The TreeListView version is the same. 

<telerik:RadGridView x:Name="RadGridView1" GroupRenderMode="Flat"
                             ShowGroupPanel="False" CanUserResizeRows="True"
                             ItemsSource="{Binding Customers}"
                             RowStyle="{StaticResource DraggedRowStyle}"
                             AllowDrop="True"
                             CanUserSortColumns="False"
                             IsFilteringAllowed="False"
                             local:RowReorderBehavior.IsEnabled="True"
                             telerik:ScrollingSettingsBehavior.IsEnabled="True"
                             telerik:ScrollingSettingsBehavior.ScrollAreaPadding="30"
                             telerik:ScrollingSettingsBehavior.ScrollStep="24"
                             telerik:ScrollingSettingsBehavior.ScrollStepTime="00:00:00.05">

Hope this helps!  Regards,
Nik
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
TreeListView
Asked by
Guillou
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or