public void SetWindowHeight(double height) { this.SetValue(Window.HeightProperty, height); }
public void SetWindowBackground(Brush brush) { this.SetValue(Window.BackgroundProperty, brush); }Package Library: The System.Windows.Window.SetValue method is part of the .NET Framework's WindowsBase.dll library.