private void InfoPanelCloseAnimation() { InfoPanel.BeginAnimation(MarginProperty, infoPanelCloseAnimation); }