TheSysInsights.WinUI.Extensions
13.0.0
dotnet add package TheSysInsights.WinUI.Extensions --version 13.0.0
NuGet\Install-Package TheSysInsights.WinUI.Extensions -Version 13.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TheSysInsights.WinUI.Extensions" Version="13.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TheSysInsights.WinUI.Extensions --version 13.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TheSysInsights.WinUI.Extensions, 13.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TheSysInsights.WinUI.Extensions as a Cake Addin
#addin nuget:?package=TheSysInsights.WinUI.Extensions&version=13.0.0
// Install TheSysInsights.WinUI.Extensions as a Cake Tool
#tool nuget:?package=TheSysInsights.WinUI.Extensions&version=13.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
This package can be used to Customize the Microsoft.UI.XAML.Window Class of Microsoft Windows App SDK 1.1.0 Preview-3 (WinUI3) to introduce window resizing functionalities like in WPF Window Class. A typical example code for the utilization of this API is provided below for help:
using TheSysInsights.WinUI.Extensions;
private readonly WindowExtension windowExtension;
public MainWindow()
{
this.InitializeComponent();
windowExtension = new WindowExtension(this);
windowExtension.Width = 600;
windowExtension.Height = 400;
windowExtension.MinWidth = 600;
windowExtension.MinHeight = 400;
windowExtension.MaxWidth = 3840;
windowExtension.MaxHeight = 2160;
windowExtension.Maximize();
windowExtension.Mica.ActivateMicaBackdrop();
this.Title = "Microsoft .NET WinUI";
this.ExtendsContentIntoTitleBar = true;
this.SetTitleBar(CustomTitleBar);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows10.0.22000 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-windows10.0.22000
- Microsoft.Windows.SDK.BuildTools (>= 10.0.22000.197)
- Microsoft.WindowsAppSDK (>= 1.1.0-preview3)
- PInvoke.User32 (>= 0.7.104)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
13.0.0 | 483 | 5/27/2022 |