/// <summary> /// Initial Metro setup see https://fluentribbon.github.io/documentation/interop_with_MahApps.Metro /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Window_Loaded(Object sender, RoutedEventArgs e) { TitleBar = this.FindChild <RibbonTitleBar>("ribbonTitleBar"); TitleBar.InvalidateArrange(); TitleBar.UpdateLayout(); }