Sliding Child WIndow not working in wpf
===

i used translatetransform to slide my child window but i think there's something wrong with my xaml code. it's not the window is sliding but inside the window is sliding (or the grid).

this is my Child Window XAML:

        <Window x:Class="SAMPLE.ChildWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStartupLocation="CenterOwner"
        x:Name="HomeWindows"
        Title="HomeWindow" Height="348" Width="440" Loaded="HomeWindows_Loaded">
    <Window.RenderTransform>
        <TranslateTransform />
    </Window.RenderTransform>
    <Window.Resources>
        <Storyboard x:Key="SlaydAndFeyd" >
            <DoubleAnimation Storyboard.TargetName="HomeWindows"  Storyboard.TargetProperty="(Window.RenderTransform).(TranslateTransform.X)" From="50" To="0" Duration="0:0:0.4" />
        </Storyboard>
    </Window.Resources>

and then for my function, calling the storyboard:

            public void SlaydAndFeyds()
        {
            (FindResource("SlaydAndFeyd") as Storyboard).Begin(this);
        }


and now in the Main Window code:

        namespace SAMPLE
{
    public partial class MainWindow : Window
    {

        public MainWindow()
        {
            InitializeComponent();
        }

        private ChildWindow  NewChildWindow = new ChildWindow();

        private void btnShowChild_Click(object sender, RoutedEventArgs e)
        {
            NewHomeWindow.Owner = this;
            NewHomeWindow.Show();
        }

        private void btnSlideChild_Click(object sender, RoutedEventArgs e)
        {
           NewHomeWindow.SlaydAndFeyds();
        }

or anyone have an idea how can i slide my child window? thanks for the advance help....