OdometerCounterViewMaui 1.0.3
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package OdometerCounterViewMaui --version 1.0.3
NuGet\Install-Package OdometerCounterViewMaui -Version 1.0.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="OdometerCounterViewMaui" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OdometerCounterViewMaui" Version="1.0.3" />
<PackageReference Include="OdometerCounterViewMaui" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OdometerCounterViewMaui --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OdometerCounterViewMaui, 1.0.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.
#:package OdometerCounterViewMaui@1.0.3
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OdometerCounterViewMaui&version=1.0.3
#tool nuget:?package=OdometerCounterViewMaui&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OdometerCounterViewMaui
An animated odometer-style counter control for .NET MAUI applications. This control provides smooth scrolling transitions for numbers, perfect for displaying changing values like mileage, scores, currency, or counts.
Demo
| Android | iPhone |
|---|---|
| <img src="ODOMETER.gif" height="400" /> | <img src="ODOMETER iPhone.gif" height="400" /> |
Features
- Smooth Animations: Digits roll smoothly to their new values with a customizable visual style.
- Customizable Appearance: Full support for standard font customization including:
FontSizeFontFamilyFontAttributesTextColorDurationMs
- Flexible Data Binding: Simply bind the
Valueproperty to any integer to trigger the animation. - Dynamic Sizing: The control automatically sizes itself based on the number of digits and font settings.
- Performance Optimized: efficiently handles updates to minimize UI thread impact.
Usage
Simply add the namespace and use the OdometerView control in your XAML.
Basic Usage
<xmlns:controls="clr-namespace:OdometerCounterViewMaui;assembly=OdometerCounterViewMaui">
<controls:OdometerView
Value="12345"
FontSize="50"
DurationMs="500"
TextColor="{StaticResource Primary}" />
Binding Example
<controls:OdometerView
Value="{Binding CurrentCount}"
FontSize="32"
FontAttributes="Bold"
DurationMs="1500"
TextColor="Black" />
Installation
You can install the package via the NuGet Package Manager or the CLI:
dotnet add package OdometerCounterViewMaui
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.Maui.Controls (>= 9.0.0)
-
net9.0
- Microsoft.Maui.Controls (>= 9.0.0)
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.0.9-beta | 141 | 1/22/2026 |
| 1.0.8-beta | 125 | 1/22/2026 |
| 1.0.7-beta | 121 | 1/22/2026 |
| 1.0.6-beta | 124 | 1/8/2026 |
| 1.0.5-beta | 127 | 12/31/2025 |
| 1.0.3 | 198 | 12/21/2025 |
| 1.0.2 | 191 | 12/21/2025 |
| 1.0.1 | 148 | 12/21/2025 |
| 1.0.0 | 152 | 12/21/2025 |
Fixed bug where TextColor property was not updating correctly at runtime.