private void CookieExpanderOnCollapsed(object sender, RoutedEventArgs e) { this.Height -= this.ExpanderHeight; }