AutoScroll while dragging items into RadTreeListView

2 posts, 0 answers
  1. Guillou
    Guillou avatar
    1 posts
    Member since:
    Aug 2013

    Posted 28 Aug 2013 Link to this post

    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
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 02 Sep 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top