MathConverter.Maui 2.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package MathConverter.Maui --version 2.1.1
NuGet\Install-Package MathConverter.Maui -Version 2.1.1
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="MathConverter.Maui" Version="2.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MathConverter.Maui --version 2.1.1
#r "nuget: MathConverter.Maui, 2.1.1"
#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.
// Install MathConverter.Maui as a Cake Addin
#addin nuget:?package=MathConverter.Maui&version=2.1.1

// Install MathConverter.Maui as a Cake Tool
#tool nuget:?package=MathConverter.Maui&version=2.1.1

Math Converter: A XAML Converter that does it all.

What is MathConverter?

MathConverter allows you to do Math in XAML.

MathConverter is a powerful Binding converter that allows you to specify how to perform conversions directly in XAML, without needing to define a new IValueConverter in C# for every single conversion.

Getting Started:

It's as easy as 1-2-3.

1) Install the Nuget package.

2) Add a MathConverter resource.

    <math:MathConverter x:Key="Math" />

The math namespace is defined as follows<b>*</b>:


3) Do Math. Now, you can use MathConverter on any Binding. Specify a ConverterParameter to specify the rules of the conversion.

    <MultiBinding ConverterParameter="Min(x,y)/2" Converter="{StaticResource Math}">
        <Binding Path="ActualHeight" />
        <Binding Path="ActualWidth" />

See the GitHub repository for documentation and examples.

Product Compatible and additional computed target framework versions.
.NET net6.0-android31.0 is compatible.  net6.0-ios16.1 is compatible.  net6.0-maccatalyst16.1 is compatible.  net6.0-windows10.0.22621 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-windows was computed.  net7.0-windows10.0.22621 is compatible.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.2.1 231 12/12/2023
2.2.0 189 6/20/2023
2.1.1 135 6/17/2023