🌶️ Eyeshot issues with Telerik controls

Issue 1: Docking control

When using Eyeshot control inside a Telerik docking control, the Eyeshot control disappears due to a dispose call.

This behavior is time issue due to the built-in animation of the ToolWindow.
Basically, when you docked, a Pane animation is triggered, Close event of the window is called at a later stage and the Eyeshot control is disposed.
You can consider turning off the animation of the ToolWindow.

To do that you can create implicit style and set the AnimationManager.AnimationEnabled attached property to false. 

<Style TargetType="telerik:ToolWindow"> 
      <Setter Property="telerik:AnimationManager.IsAnimationEnabled" Value="False"/> 

Another solution can be to derive from the ViewportLayout, to make the override of the Dispose method and calling it only when the main window is truly closed.

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.

Articles in this section