private void CheckHost() { if (this.FloatingWindowHost == null) throw new InvalidOperationException("The FloatingWindow was not added to the FloatingWindowHost."); }