private void SideHider_MouseDown(object sender, MouseButtonEventArgs e) { LeftSidePanel.BeginAnimation(MarginProperty, LeftSideOutAnimation); SideHider.BeginAnimation(OpacityProperty, OpacityAnimationOut); }
private void MenuArea_MouseDown(object sender, MouseButtonEventArgs e) { SideHider.Visibility = Visibility.Visible; LeftSidePanel.BeginAnimation(MarginProperty, LeftSideInAnimation); SideHider.BeginAnimation(OpacityProperty, OpacityAnimationIn); }