[Deps]Upgrade WpfUI to preview.9 and fix Windows 10 background issue (#29884)

* Bumping to preview9
This commit is contained in:
Niels Laute
2023-11-16 17:37:21 +01:00
committed by GitHub
parent 468e55c7e1
commit 412550abcd
9 changed files with 36 additions and 12 deletions

View File

@@ -0,0 +1,16 @@
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace Common.UI
{
public static class OSVersionHelper
{
public static bool IsWindows11()
{
return Environment.OSVersion.Version.Major >= 10 && Environment.OSVersion.Version.Build >= 22000;
}
}
}