MahApps / MahApps.Metro

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
https://mahapps.com
MIT License
9.33k stars 2.44k forks source link

FlipView HideBanner uses heigh, which is often NaN, should probably be ActualHeight instead #1053

Closed lycilph closed 10 years ago

lycilph commented 10 years ago
private void HideBanner()
{
            if (this.Height > 0.0) //<--- Change to ActualHeight
            {
                bannerLabel.BeginStoryboard(HideControlStoryboard);
                bannerGrid.BeginStoryboard(HideBannerStoryboard);
            }
}
AzureKitsune commented 10 years ago

Uh... OH, Thanks. Good find. I'll fix that ASAP.