private void SynchronizeMenuBar() => m_menuBar = SharedHelpers.GetAncestorOfType <MenuBar>(VisualTreeHelper.GetParent(this));