VijayAnand.MauiToolkit.Pro
2.1.0-preview.7
Prefix Reserved
See the version list below for details.
dotnet add package VijayAnand.MauiToolkit.Pro --version 2.1.0-preview.7
NuGet\Install-Package VijayAnand.MauiToolkit.Pro -Version 2.1.0-preview.7
<PackageReference Include="VijayAnand.MauiToolkit.Pro" Version="2.1.0-preview.7" />
paket add VijayAnand.MauiToolkit.Pro --version 2.1.0-preview.7
#r "nuget: VijayAnand.MauiToolkit.Pro, 2.1.0-preview.7"
// Install VijayAnand.MauiToolkit.Pro as a Cake Addin #addin nuget:?package=VijayAnand.MauiToolkit.Pro&version=2.1.0-preview.7&prerelease // Install VijayAnand.MauiToolkit.Pro as a Cake Tool #tool nuget:?package=VijayAnand.MauiToolkit.Pro&version=2.1.0-preview.7&prerelease
VijayAnand.MauiToolkit.Pro
This is a toolkit with a set of helper methods and classes to simplify working with .NET MAUI and Blazor.
Published as a NuGet package - VijayAnand.MauiToolkit.Pro
It depends on the following NuGet packages:
To start with, implements the concrete definition PopupDialogService
for the IDialogService
abstraction defined in Core package and IMauiDialogService
abstraction defined in Regular package with the Popup
type from the CommunityToolkit.Maui
NuGet package.
Provides an extension method to register this service in .NET MAUI host builder startup:
UseVijayAnandMauiToolkitPro()
By default, the default value of configuration parameter is set to ServiceRegistrations.All
.
Usage:
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder.UseMauiApp<App>()
.UseMauiCommunityToolkit()
.UseVijayAnandMauiToolkitPro(); // Implicit value of ServiceRegistrations.All passed as configuration parameter
return builder.Build();
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-android33.0 is compatible. net7.0-ios was computed. net7.0-ios16.1 is compatible. net7.0-maccatalyst was computed. net7.0-maccatalyst16.1 is compatible. net7.0-macos was computed. net7.0-tizen7.0 is compatible. net7.0-tvos was computed. net7.0-windows was computed. net7.0-windows10.0.19041 is compatible. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- CommunityToolkit.Maui (>= 3.0.0)
- VijayAnand.MauiToolkit (>= 2.1.0-preview.7)
-
net7.0-android33.0
- CommunityToolkit.Maui (>= 3.0.0)
- VijayAnand.MauiToolkit (>= 2.1.0-preview.7)
-
net7.0-ios16.1
- CommunityToolkit.Maui (>= 3.0.0)
- VijayAnand.MauiToolkit (>= 2.1.0-preview.7)
-
net7.0-maccatalyst16.1
- CommunityToolkit.Maui (>= 3.0.0)
- VijayAnand.MauiToolkit (>= 2.1.0-preview.7)
-
net7.0-tizen7.0
- CommunityToolkit.Maui (>= 3.0.0)
- VijayAnand.MauiToolkit (>= 2.1.0-preview.7)
-
net7.0-windows10.0.19041
- CommunityToolkit.Maui (>= 3.0.0)
- VijayAnand.MauiToolkit (>= 2.1.0-preview.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on VijayAnand.MauiToolkit.Pro:
Repository | Stars |
---|---|
egvijayanand/dotnet-maui-samples
.NET MAUI Samples
|
Version | Downloads | Last updated |
---|---|---|
3.1.0 | 133 | 11/27/2023 |
3.0.0 | 81 | 11/14/2023 |
3.0.0-rc.2.2 | 50 | 11/7/2023 |
3.0.0-rc.2.1 | 57 | 10/31/2023 |
3.0.0-rc.2 | 60 | 10/13/2023 |
3.0.0-rc.1 | 60 | 9/18/2023 |
3.0.0-preview.7 | 60 | 9/12/2023 |
3.0.0-preview.1 | 84 | 4/24/2023 |
2.1.3 | 53 | 11/7/2023 |
2.1.2 | 66 | 10/31/2023 |
2.1.1 | 66 | 10/13/2023 |
2.1.0 | 72 | 9/19/2023 |
2.1.0-preview.7 | 62 | 9/12/2023 |
2.1.0-preview.6 | 74 | 4/24/2023 |
2.1.0-preview.5 | 81 | 1/3/2023 |
2.1.0-preview.4 | 92 | 1/2/2023 |
2.1.0-preview.3 | 75 | 12/30/2022 |
2.1.0-preview.2 | 78 | 12/28/2022 |
2.1.0-preview.1 | 68 | 12/27/2022 |
1.1.0 | 73 | 9/19/2023 |
1.1.0-preview.7 | 63 | 9/12/2023 |
1.1.0-preview.6 | 71 | 4/24/2023 |
1.1.0-preview.5 | 76 | 1/3/2023 |
1.1.0-preview.4 | 71 | 1/2/2023 |
1.1.0-preview.3 | 71 | 12/30/2022 |
1.1.0-preview.2 | 76 | 12/28/2022 |
1.1.0-preview.1 | 76 | 12/27/2022 |
Join me on Developer Thoughts, https://egvijayanand.in/, an exclusive blog for .NET MAUI and Blazor.
What's new in ver. 2.1.0-preview.6:
-----------------------------------
The toolkit updated to a newer revision.
v2.1.0-preview.5:
The toolkit updated to a newer revision.
v2.1.0-preview.4:
Additional parameter introduced in the custom Prompt dialog to validate the user entered value before dismissing the dialog.
2.1.0-preview.3:
VijayAnand.MauiToolkit.Pro NuGet package now depends on the VijayAnand.MauiToolkit NuGet package.
DialogService class renamed as PopupDialogService.
To support localization, support for the FlowDirection parameter is now part of the overloaded methods. To be opted-in explicitly.
To allow further customization, custom Style properties have been assigned to the respective Views in the Popup dialog design.
DialogStyle -> Style of the Popup dialog (to be defined on the Border View)
DialogTitle -> Title of the Popup dialog
DialogMessage -> Message shown in the Popup dialog
Action -> Default button style on the ActionSheet
PrimaryAction -> Style for the Accept action on the Popup dialog
SecondaryAction -> Style for the Cancel action on the Popup dialog
DestructiveAction -> Style for the Destructive action on the Popup dialog
v2.1.0-preview.2:
DialogService class is now marked as internal.
And to show the Popup implemented dialogs, follow any of the below-mentioned approaches:
1. via Dependency Injection:
Register the dependency in the .NET MAUI startup pipeline.
Either with the UseVijayAnandMauiToolkitPro() extension method (invoked on the MauiAppBuilder instance).
Or directly add it to the Service collection, like:
builder.Services.AddSingleton<IDialogService>(PopupDialog.Instance);
Then inject the instance of the IDialogService into the Page and invoke the appropriate method.
// Assuming _dialogService is the injected instance of IDialogService
await _dialogService.DisplayAlertAsync("Greeting", "Hello World", "OK");
2. via Static:
Instance of IDialogService is accessible via the PopupDialog type's Instance property.
await PopupDialog.Instance.DisplayAlertAsync("Greeting", "Hello World", "OK");
v2.1.0-preview.1:
Note: Version # is aligned with the other packages in this suite.
1. Initial release of VijayAnand.MauiToolkit.Pro version of NuGet package.
2. Has dependency on CommunityToolkit.Maui and VijayAnand.MauiToolkit.Core NuGet packages.
3. To start with, a custom definition of the Dialogs based on the CommunityToolkit's Popup type.
3.1 This DialogService class is the implementation of the IDialogService interface definition in the Core package.
3.2 Register the dependency in the startup pipeline (MauiProgram.cs) with a call to the UseVijayAnandMauiToolkitPro() method:
Sample code:
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder.UseMauiApp<App>()
.UseMauiCommunityToolkit()
.UseVijayAnandMauiToolkitPro();
return builder.Build();
}
}