protected AnimatedPanel() { Duration = TimeSpan.FromMilliseconds(500); UseAnimatedLayout = false; _useDefaultInterpolation = true; }