Optional sizetocontent

Fix for https://github.com/MahApps/MahApps.Metro/issues/881