private void vm_RequestLayoutUpdate(object sender, EventArgs e) { Dispatcher.Invoke(new Action(UpdateLayout), DispatcherPriority.Render, null); }