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

Pause during animation?

1 Answer 95 Views
Callout
This is a migrated thread and some comments may be shown as answers.
Rob A.
Top achievements
Rank 2
Iron
Iron
Veteran
Rob A. asked on 19 Jan 2021, 04:29 AM

I'm getting a strange pause during the animation of a callout?  See code below:

 

Private Sub imHelpEnhanceDistance_MouseDown(sender As Object, e As MouseButtonEventArgs) Handles imHelpEnhanceDistance.MouseDown
 
        Try
            Dim clCodeCallout As New RadCallout()
            With clCodeCallout
                .FontSize = 10
                .Content = "My helpful Text Message"
                .Width = 210
                .Height = 70
                .TextWrapping = TextWrapping.Wrap
                .Background = Brushes.DarkGreen
                .Foreground = Brushes.White
            End With
 
            Dim clSettings As New CalloutPopupSettings()
            With clSettings
                .Placement = System.Windows.Controls.Primitives.PlacementMode.Top
                .CanPopupExceedScreen = True
                .ShowAnimationDuration = 0.55D
                .ShowAnimationEasing = New BounceEase() With {.EasingMode = EasingMode.EaseOut, .Bounces = 20, .Bounciness = 5}
                .CloseAnimationEasing = New CircleEase() With {.EasingMode = EasingMode.EaseOut}
                .CloseAnimationDuration = 0.3D
                .ShowAnimationType = CalloutAnimation.Move
                .CloseAnimationType = CalloutAnimation.Move
                .AutoClose = True
            End With
 
            CalloutPopupService.Show(clCodeCallout, TryCast(sender, FrameworkElement), clSettings)
 
        Catch ex As Exception
 
            Log.Write(ex)
 
        End Try
 
    End Sub

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 21 Jan 2021, 03:28 PM

Hello Robin,

I've tested the code snippet, but I wasn't able to reproduce any pauses. Can you please check the attached project and let me know if I am missing anything? Also, can you share a video showing the issue?

Regards,
Martin Ivanov
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/.

Tags
Callout
Asked by
Rob A.
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Martin Ivanov
Telerik team
Share this question
or