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

Disable Expanding Animation possible?

1 Answer 127 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
BKR AG
Top achievements
Rank 1
BKR AG asked on 18 Mar 2016, 01:44 PM

Hi,

in an RadTreeView i can disable the expanding animations with the following line

telerik:AnimationManager.IsAnimationEnabled="False"

 

This line has no effect if i add it to my TreeListView. I also tried:

 

AnimationManager.IsGlobalAnimationEnabled = false;

 

This also has no effect.

Whenever i reload my TreeListView-Elements after OnPropertyChanged is fired all this expanding is going on.

This is completely happening on the telerik's site because onPropertyChanged is fired when i've completely read all elements. So the tree is already complete when this expanding orgy starts.

This is especially bad when i do this on slow computers. It takes sometimes longer than a second until ONE thing is expanded!

This is my definition of the RadTreeListView:

<telerik:RadTreeListView Grid.Row="1"
                         x:Name="radTreeListView"
                         IsReadOnly="True"
                         ItemsSource="{Binding ConnectorList}"
                         CanUserFreezeColumns="False"
                         SelectionMode="Single"        
                         TreeLinesVisibility="Visible"
                         RowIndicatorVisibility="Collapsed"
                         KeyboardNavigation.DirectionalNavigation="Contained"
                         telerik:AnimationManager.IsAnimationEnabled="False"
                         IsExpandedBinding="{Binding IsExpanded, Mode=TwoWay}"
                         ItemContainerStyle="{StaticResource ItemContainerStyle}"
                         SelectedItem="{Binding SelectedConnectorItem, Mode=TwoWay}"
                         ColumnWidth="*"
                         telerik:DragDropManager.AllowDrag="False"
                         GridLinesVisibility="Vertical"
                         AutoGenerateColumns="False">

I would be very thankful for any idea.

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 23 Mar 2016, 01:41 PM
Hello,

I can see that my colleagues have already addressed your concerns in the support ticket you created on the same topic. For anyone else that might encounter this thread - disabling the expanding animation in RadTreeListView is not currently possible, but we'll consider exposing such option in the future.

Regards,
Petya
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
TreeListView
Asked by
BKR AG
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or