Scover.Dialogs
1.4.3
dotnet add package Scover.Dialogs --version 1.4.3
NuGet\Install-Package Scover.Dialogs -Version 1.4.3
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="Scover.Dialogs" Version="1.4.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Scover.Dialogs --version 1.4.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Scover.Dialogs, 1.4.3"
#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 Scover.Dialogs as a Cake Addin #addin nuget:?package=Scover.Dialogs&version=1.4.3 // Install Scover.Dialogs as a Cake Tool #tool nuget:?package=Scover.Dialogs&version=1.4.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dialogs
Managed Win32 task dialog wrapper. Supports all native Task Dialog features.
Information
In order to use activation contexts, this package copies the XPThemes.manifest file to the output directory.
Usage
Simple
Shows a simple task dialog.
using Scover.Dialogs;
using Page page = new()
{
Content = "Sample text",
Buttons = { Button.Yes, Button.No, Button.Cancel }
};
var clickedButton = new Dialog(page).Show();
Multi-page
using Scover.Dialogs;
using Page page1 = new()
{
MainInstruction = "Page #1",
Buttons = new(ButtonStyle.CommandLinks)
{
{ "Label", "Supplemental instruction" },
Button.Cancel
}
};
using Page page2 = new()
{
MainInstruction = "Page #2",
Expander = new("Expanded information")
};
var clickedButton = new MultiPageDialog(page1, new Dictionary<Page, NextPageSelector>
{
[page1] = request => request.Kind is NavigationRequestKind.Cancel ? null : page2,
}).Show();
Check out Tests.cs for more examples.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 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-windows7.0
- BidirectionalDictionary (>= 1.2.0)
- Vanara.Core (>= 3.4.15)
- Vanara.PInvoke.ComCtl32 (>= 3.4.15)
- Vanara.PInvoke.Shared (>= 3.4.15)
- Vanara.PInvoke.User32 (>= 3.4.15)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Scover.Dialogs:
Repository | Stars |
---|---|
5cover/WinClean
Windows optimization and debloating utility.
|
Updated packages. Removed useless types ButtonClickedEventArgs and RadioButtonClickedEventArgs. Page now disposes of its Verification.