public void OnLocationChanged(Window widget, EventArgs e) { widget.Platform.Invoke(() => widget.OnLocationChanged(e)); } /// <summary>