In my opinion, the animation is too long and too "jumpy" - I'd like to remove it or make it more subtle. Possible?
2 Answers
I think you have to re-template the ChildWindow. Check this link so you can copy the default template and make your desired changes to the animation.

- 2,476
- 1
- 18
- 21
Here's the full recipe:
Extract the Child Window Template. I like to use Blend for this: create an empty project of the same type as your target project, put a child window directly to the main page. Select Edit Template->Edit a copy... Blend creates a style for the ChildWindow.
In your target project, add a new "Silverlight Resource Dictionary". name it "ChildWindowResources". Copy the entire style from the Blend project to the ChildWindowResources.xaml. Remove the "x:Key="ChildWindowStyle1" from the copied style.
In your target's project App.xaml, add the "ResourceDictionary" section thet looks like this:
-
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary
Source="/MyApp;component/ChildWindowResources.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
Now you can edit the template and comment out these pesky animation sections under VisualState x:Name="Open" and VisualState x:Name="Closed"

- 22,316
- 18
- 72
- 99