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"/> 
</Style>

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
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.