Declined
Last Updated: 07 Apr 2021 10:38 by ADMIN
JUI CHENG
Created on: 03 Apr 2021 14:18
Category: Window
Type: Bug Report
0
RadWindow Header Broken after use animation changed window size

Hi,

Please see attached project,

After use animation changed window size and use the mouse to drag to change the size of the window,

When the window size is smaller than the original size, the upper right button will be hide,

Original WPF Window no this problem, And changing size animation very Smooth then RadWIndow.

1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 07 Apr 2021 10:38

Hi JUI CHENG,

Thank you for the provided project.

I was able to observe the described behavior. The Value of DependencyProperty which is animated cannot be changed because the Animation has precedence over the LocalValue described in the "Dependency Property Setting Preceding List". That's why the Width of the RadWindow is not working correctly after the animation. This problem could be easily resolved by stopping the animation when the animation is completed.

I have modified the project to demonstrate how you can workaround this. I a few words I have moved the Storyboard in the Resource section and begin it in the Click event of the button.

Regards,
Dinko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.