djaus2MauiCountdownToolkit 1.0.8
See the version list below for details.
dotnet add package djaus2MauiCountdownToolkit --version 1.0.8
NuGet\Install-Package djaus2MauiCountdownToolkit -Version 1.0.8
<PackageReference Include="djaus2MauiCountdownToolkit" Version="1.0.8" />
<PackageVersion Include="djaus2MauiCountdownToolkit" Version="1.0.8" />
<PackageReference Include="djaus2MauiCountdownToolkit" />
paket add djaus2MauiCountdownToolkit --version 1.0.8
#r "nuget: djaus2MauiCountdownToolkit, 1.0.8"
#:package djaus2MauiCountdownToolkit@1.0.8
#addin nuget:?package=djaus2MauiCountdownToolkit&version=1.0.8
#tool nuget:?package=djaus2MauiCountdownToolkit&version=1.0.8
MauiCountdownToolkit
CountdownPopup/RainbowCountdownPopup
This is a Maui Countdown Popup that can be used to display a countdown timer in your Maui application. It is designed to be simple and easy to use, allowing you to quickly implement countdown functionality in your app. Two border options. [Cancel] button and can be programmatically cancelled. Displays an icon.
- Components:
MauiCountdownToolkit.Views.CountdownPopup
Has one solid color border (default red).
MauiCountdownToolkit.Views.RainbowCountdownPopup
Has rainbow border. - NuGet Package:
djaus2MauiCountdownToolkit - Interface:
public CountdownPopup(int seconds, SolidColorBrush? color = null, string iconSource = "videogreen.svg", int iconWidthHeight = 100, string initialText = "Starting...") and public RainbowCountdownPopup(int seconds, string iconSource = "videogreen.svg",int IconWidthHeight=100, string initialText= "Starting...")
- Parameters:
seconds
: The number of seconds for the countdown.iconSource
: The source of the icon to display in the popup (default is "videogreen.svg").color
(CountdownPopup only): The color of the border (default isnull
, which uses a default red).IconWidthHeight
: The width and height of the icon (default is 100).initialText
: The initial text to display in the popup (default is "Starting...").Nb: gunx.svg, the default icon is in the lib
- You can use your own SVG icon from an app using this lib.*
- Make sure its property is set to MauiImage.
The RainbowCountdownPopup in action using gunx.svg icon
*
Icons embedded in the library:
Can be used without instantiation (inclusion) in the host app:- gunx.svg
- videogreen.svg (default)
- videored.svg
- veideoblack.svg
Usage Example
using MauiCountdownToolkit.Views; ... ... CountdownPopup? CountdownPopup = null; ... ... int delay = //Get from app properties etc. if (delay > 0) { CountdownPopup = new CountdownPopup(delay,null, "dotnet_athletics.jpg", 64,"Starting..."); await this.ShowPopupAsync(CountdownPopup); bool result = await CountdownPopup.Result; CountdownPopup = null; if (result) //Call process to be triggered after countdown } ... ... Elsewhere eg if process manual start button is pressed before countdown fimishes. if (CountdownPopup != null) { // If a countdown popup is active, cancel it CountdownPopup.Cancel(); }
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0-android35.0 is compatible. net10.0-android was computed. |
-
net9.0-android35.0
- CommunityToolkit.Maui (>= 10.0.0)
- Microsoft.Maui.Controls (>= 9.0.60)
- Microsoft.Maui.Controls.Compatibility (>= 9.0.60)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.1.6 | 230 | 7/20/2025 |
1.1.5 | 224 | 7/20/2025 |
1.1.4 | 220 | 7/20/2025 |
1.1.3 | 88 | 7/18/2025 |
1.1.2 | 100 | 7/18/2025 |
1.1.1 | 106 | 7/18/2025 |
1.1.0 | 111 | 7/18/2025 |
1.0.8 | 130 | 7/16/2025 |
1.0.7 | 128 | 7/16/2025 |
1.0.6 | 131 | 7/16/2025 |
1.0.4 | 132 | 7/16/2025 |
1.0.3 | 134 | 7/16/2025 |
1.0.1 | 129 | 7/16/2025 |
1.0.0 | 133 | 7/16/2025 |