DesktopFlyouts.WinUI
1.3.0
dotnet add package DesktopFlyouts.WinUI --version 1.3.0
NuGet\Install-Package DesktopFlyouts.WinUI -Version 1.3.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="DesktopFlyouts.WinUI" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DesktopFlyouts.WinUI" Version="1.3.0" />
<PackageReference Include="DesktopFlyouts.WinUI" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DesktopFlyouts.WinUI --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DesktopFlyouts.WinUI, 1.3.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.
#:package DesktopFlyouts.WinUI@1.3.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DesktopFlyouts.WinUI&version=1.3.0
#tool nuget:?package=DesktopFlyouts.WinUI&version=1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DesktopFlyouts is a WinUI library for showing desktop flyouts from tray icons or programmatically.
Usage
DesktopFlyout
<me:DesktopFlyout
x:Class="..."
xmlns:me="using:U5BFA.Libraries"
FlyoutWidth="360">
<me:DesktopFlyoutIsland IslandHeight="300">
</me:DesktopFlyoutIsland>
<me:DesktopFlyoutIsland IslandHeight="300">
</me:DesktopFlyoutIsland>
</me:DesktopFlyout>
if (_desktopFlyout.IsOpen)
_desktopFlyout.Hide();
else
_desktopFlyout.Show();
DesktopMenuFlyout
<me:DesktopMenuFlyout
x:Class="..."
xmlns:me="using:U5BFA.Libraries">
<MenuFlyoutSubItem Text="Settings">
<MenuFlyoutSubItem.Icon>
<FontIcon Glyph="..." />
</MenuFlyoutSubItem.Icon>
<MenuFlyoutSubItem.Items>
<MenuFlyoutItem Text="Theme" />
<MenuFlyoutItem Text="Language" />
<MenuFlyoutItem Text="Privacy" />
</MenuFlyoutSubItem.Items>
</MenuFlyoutSubItem>
<MenuFlyoutSeparator />
<MenuFlyoutItem Text="Exit">
<MenuFlyoutItem.Icon>
<FontIcon Glyph="..." />
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
</me:DesktopMenuFlyout>
if (_desktopMenuFlyout.IsOpen)
_desktopMenuFlyout.Hide();
_desktopMenuFlyout.Show(e.Point);
Documentation
- Getting started: https://github.com/0x5bfa/DesktopFlyouts/blob/main/docs/getting-started.md
- DesktopFlyout: https://github.com/0x5bfa/DesktopFlyouts/blob/main/docs/desktop-flyout.md
- DesktopMenuFlyout: https://github.com/0x5bfa/DesktopFlyouts/blob/main/docs/desktop-menu-flyout.md
- SystemTrayIcon: https://github.com/0x5bfa/DesktopFlyouts/blob/main/docs/system-tray-icon.md
- Focus and activation: https://github.com/0x5bfa/DesktopFlyouts/blob/main/docs/focus-and-activation.md
License
Copyright (c) 0x5BFA. All rights reserved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0-windows10.0.26100 is compatible. net10.0-windows was computed. net10.0-windows10.0.26100 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-windows10.0.26100
- CommunityToolkit.Labs.WinUI.DependencyPropertyGenerator (>= 0.1.250206-build.2040)
- Microsoft.Windows.CsWinRT (>= 2.2.0)
- Microsoft.Windows.SDK.BuildTools (>= 10.0.28000.1839)
- Microsoft.WindowsAppSDK (>= 2.0.1)
-
net9.0-windows10.0.26100
- CommunityToolkit.Labs.WinUI.DependencyPropertyGenerator (>= 0.1.250206-build.2040)
- Microsoft.Windows.CsWinRT (>= 2.2.0)
- Microsoft.Windows.SDK.BuildTools (>= 10.0.28000.1839)
- Microsoft.WindowsAppSDK (>= 2.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.