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

Turn off expand/collapse animation of filter popup

1 Answer 28 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gregor
Top achievements
Rank 1
Gregor asked on 21 Sep 2018, 12:57 PM

How do you turn off the animation when the filter popup expands and/or collapses as it opens? For other Rad controls, such as RadTreeView, settings

 telerik.IsAnimationEnabled="False" 

works. Putting this in the XAML of the RadGridView does not work, however.

 

Any help would be appreciated. Thank you

 

 

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 26 Sep 2018, 10:35 AM
Hello Gregor,

You can handle the Loaded event of the RadGridView control in the following manner to remove the animation of the filtering popups:

private void Grid_Loaded(object sender, RoutedEventArgs e)
{
    var popups = this.Grid.ChildrenOfType<Popup>().Where(x => x.Name == "PART_DropDownPopup");
    foreach (var popup in popups)
    {
        popup.PopupAnimation = PopupAnimation.None;
    }
}

Please let me know whether this works for you.

Regards,
Dilyan Traykov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Gregor
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or