Scover.Dialogs
1.3.0
See the version list below for details.
dotnet add package Scover.Dialogs --version 1.3.0
NuGet\Install-Package Scover.Dialogs -Version 1.3.0
<PackageReference Include="Scover.Dialogs" Version="1.3.0" />
paket add Scover.Dialogs --version 1.3.0
#r "nuget: Scover.Dialogs, 1.3.0"
// Install Scover.Dialogs as a Cake Addin #addin nuget:?package=Scover.Dialogs&version=1.3.0 // Install Scover.Dialogs as a Cake Tool #tool nuget:?package=Scover.Dialogs&version=1.3.0
Dialogs
Managed Win32 task dialog wrapper. Supports all native Task Dialog features.
Usage
Simple
Shows a simple task dialog.
using Scover.Dialogs;
using Page page = new()
{
Content = "Sample text",
Buttons = { Button.Yes, Button.No }
};
var clickedButton = new Dialog(page).Show();
Multi-page
using Scover.Dialogs;
using Page page1 = new()
{
MainInstruction = "Page #1",
Buttons =
{
{ "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 => result.Closed ? 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. |
-
net6.0-windows7.0
- Vanara.Core (>= 3.4.13)
- Vanara.PInvoke.ComCtl32 (>= 3.4.13)
- Vanara.PInvoke.Shared (>= 3.4.13)
- Vanara.PInvoke.User32 (>= 3.4.13)
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.
|
Breaking changes ahead
Readded Page.IsCanceleable (turns out it doesn't add a cancel button)
Added a contructor overload to MultiPageDialog so the compact new syntax can be used to instantiate the dictionary.
Fixed Created event not triggering after navigation
Added 2 tests with aysnc
Fixed bug with IdControlCollection<>.SetIn() disposing of the last array
Renamed and changed documentation to indicate that Button refers to PushButton and CommandLink. Got rid of the name of commit control. Too long and misleading. I mean, what the hell is a "commit control".
Merged files with single enums to the file with the class where they are used the most
Changed icon