![]() |
VOOZH | about |
dotnet add package Controls.UserDialogs.Maui --version 1.12.0
NuGet\Install-Package Controls.UserDialogs.Maui -Version 1.12.0
<PackageReference Include="Controls.UserDialogs.Maui" Version="1.12.0" />
<PackageVersion Include="Controls.UserDialogs.Maui" Version="1.12.0" />Directory.Packages.props
<PackageReference Include="Controls.UserDialogs.Maui" />Project file
paket add Controls.UserDialogs.Maui --version 1.12.0
#r "nuget: Controls.UserDialogs.Maui, 1.12.0"
#:package Controls.UserDialogs.Maui@1.12.0
#addin nuget:?package=Controls.UserDialogs.Maui&version=1.12.0Install as a Cake Addin
#tool nuget:?package=Controls.UserDialogs.Maui&version=1.12.0Install as a Cake Tool
Inspired by Allan Ritchie's Acr.UserDialogs
To use, make sure you are using the latest version of .NET MAUI
Add UseUserDialogs(() => { }) to your MauiProgram.cs file
Also there is another overload which allows you to register UserDialogs instance in services and then use it with DI
UseUserDialogs(registerInterface: true, () => { })
builder
.UseMauiApp<App>()
.UseUserDialogs(() =>
{
//setup your default styles for dialogs
AlertConfig.DefaultBackgroundColor = Colors.Purple;
#if ANDROID
AlertConfig.DefaultMessageFontFamily = "OpenSans-Regular.ttf";
#else
AlertConfig.DefaultMessageFontFamily = "OpenSans-Regular";
#endif
ToastConfig.DefaultCornerRadius = 15;
})
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
I'm getting a nullreferenceexception when using loading.
I'm getting a crash if I don't set some property or argument.
<Nullable>enable</Nullable>, it means that if property or argument is not marked as nullable it must be set up.Navigating while inside of a loading/progress dialog causes exceptions or the progress no longer appears properly
I don't like the way X method works on platform Y
public class MyCustomUserDialogs : Controls.UserDialogs.Maui.UserDialogImplementation
{
public override ..
}
then in you MauiProgram.cs add this
builder
.UseMauiApp<App>()
.UseUserDialogs(() =>
{
#if ANDROID
Controls.UserDialogs.Maui.UserDialogs.Instance = new MyCustomUserDialogs(); //Android realization
#elif IOS
Controls.UserDialogs.Maui.UserDialogs.Instance = new MyCustomUserDialogs(); //iOS realization
#else
Controls.UserDialogs.Maui.UserDialogs.Instance = new MyCustomUserDialogs(); //mac realization
#endif
//setup your default styles for dialogs
})
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
Why don't you cancel a dialog when the app goes to the background (AND) why do I get an exception when I call for a dialog?
Why does the library allow me to open multiple windows?
I'd like to customize the dialogs in native way (e.g. in Android in styles or themes)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-android35.0 net9.0-android35.0 is compatible. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-ios18.0 net9.0-ios18.0 is compatible. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 net9.0-maccatalyst18.0 is compatible. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-android36.0 net10.0-android36.0 is compatible. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-ios26.0 net10.0-ios26.0 is compatible. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-maccatalyst26.0 net10.0-maccatalyst26.0 is compatible. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 3 NuGet packages that depend on Controls.UserDialogs.Maui:
| Package | Downloads |
|---|---|
|
SweetMeSoft.Mobile.Base
SweetMeSoft Mobile MAUI Base Library is a compilation of different utils for MAUI apps |
|
|
exotel_chatbot
Exotel Chatbot MAUI SDK |
|
|
ChatBotCustomWebViewPlugin
MAUI Chatbot WebView SDK |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.12.0 | 20,893 | 11/28/2025 |
| 1.11.1 | 6,427 | 10/20/2025 |
| 1.11.0 | 340 | 10/20/2025 |
| 1.10.1 | 9,432 | 9/10/2025 |
| 1.10.0 | 813 | 9/7/2025 |
| 1.9.0 | 1,438 | 8/26/2025 |
| 1.8.1 | 4,388 | 7/29/2025 |
| 1.8.0 | 23,773 | 5/12/2025 |
| 1.7.0 | 68,029 | 10/16/2024 |
| 1.6.3 | 23,154 | 9/30/2024 |
| 1.6.2 | 1,670 | 9/20/2024 |
| 1.6.1 | 4,239 | 9/4/2024 |
| 1.6.0 | 1,217 | 9/3/2024 |
| 1.5.4 | 63,287 | 3/20/2024 |
| 1.5.3 | 10,542 | 2/19/2024 |
| 1.5.2 | 8,077 | 1/22/2024 |
| 1.5.1 | 8,284 | 1/4/2024 |
| 1.5.0 | 5,010 | 11/15/2023 |
| 1.4.0 | 10,306 | 11/13/2023 |
| 1.3.0 | 5,135 | 9/20/2023 |